We need someone with a knowledge of Opencart, PHP, and MySQL, to fix or create a working product redirect script for us. We have 2 Opencart Websites. One is a Wholesale only website, version 18.104.22.168, and the other website is a Retail site in Opencart version 22.214.171.124.
We had a freelancer create a script which automatically redirects customers from the wholesale website, to the retail website, when they click the product Add To Cart button on our wholesale website. The current script works fine for all products which were in the database at the time the script was created, but for some reason, it is not working for new products which we have been added to the database recently.
In summary, our wholesale websites product "Add To Cart" button has been relabeled "Shop Online". When a customer clicks this button, they should be redirected to the same product information page, on our retail website. The script needs to work for all current products, and any new products which may be added to the websites, later.
Create a new redirect script, or fix the current script to work correctly.