storeweb88 Posted July 15, 2013 Posted July 15, 2013 Anyone have any ideas or suggestions for total amount on external pages.. I know you can add this to internal. But the external is what I want to get working.. Any suggestions would grealy be appreicated. span class="items"> <?php echo $cart->count_contents() ?> items</span> | <span><?php echo $cart->show_total() ?></span>
Bob Terveuren Posted July 23, 2013 Posted July 23, 2013 Hi - there's an addon http://addons.oscommerce.com/info/5390 (may need tweaking for 2.3.x) that you can use if the external page is able to access the cookies created e.g. if store is in www.domain.com/catalog and you set the cookies to be active for the whole domain then you can call them in any other www.domain.com page. Otherwise (not tried this) I'm guessing if you include the osC file includes/application_top.php in the external file then the cart function may kick in (but you'd have to be on the same local server?)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.