Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cart total amount external pages


storeweb88

Recommended Posts

Posted

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>

Posted

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?)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...