Andy B Posted December 15, 2003 Posted December 15, 2003 I created a website and have installed OSC. When a user is surfing the website and sees a product they want to purchase, they click on a "Buy Now" link which takes them to the catalog page. My question is, once in the catalog page there isn't a good way to get back to the page they were on in my website. You can click the "top" link but that takes them to my home page. Isn't OSC designed to work along side a webstite? Is OSC designed to be a website? How do most people use this software?
DJones Posted December 15, 2003 Posted December 15, 2003 Set your "buy now" link to open a new window?
Andy B Posted December 15, 2003 Author Posted December 15, 2003 Great idea David. Thanks for the tip.
Guest Posted December 16, 2003 Posted December 16, 2003 admin > Configuration > My Store > Display Cart After Adding Product; set to true. Then run through the process and click Continue Shopping. It should take you back to your web site. Hth, Matt
Andy B Posted December 16, 2003 Author Posted December 16, 2003 Hi Matt, Unfortuneately clicking on "Continue Shopping" does not return the user to the web page that they originally clicked "Buy Now" from. There should be a way to create a link that is updated when they click "Buy Now" from a web page. Having a new window works fairly well but its not as elegant as creating a link that returns them to the original page. Is this software mostly used where the shopping cart is the website? Or do many use it as an add-on to website? I always assumed a shopping carts was somthing that you add to a website and not the website itself.
Guest Posted December 16, 2003 Posted December 16, 2003 Look for $goto in includes/application_top.php. It determines where the page redirects after the purchase. If you pass your return URL in your link, you can set the $goto to the page which had the link. You might also be able to do this with PHP variables. I think that one relates to REFERRER. osCommerce is designed to be a complete website in and of itself (like Amazon). Sometimes, it is used with other modules, like phpBB. If you want to integrate a web site with osCommerce, it usually is easier to put the other web site (without dynamic content) into osCommerce (which has dynamic content and session memory) than the other way around. Hth, Matt
Andy B Posted December 16, 2003 Author Posted December 16, 2003 Thanks Matt I'll look into those variables. How common is it to create a website and use a program like osCommerce for the shopping cart part of it?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.