Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Items on other Pages of Site?


aslanstudios

Recommended Posts

Posted

Forgive me if this sounds elementary...

 

I wanted to feature a product on the main page of my site. Is it possible have an item listed outside the application and when its clicked have it added to the shopping cart and redirect the user to the catalog?

Posted

Try to put your product into href tags with this url:

 

 

<a href="http://localhost/milestone2/catalog/index.php?action=buy_now&products_id=27">

 

<your image here>

 

</a>

 

--> Don't forget to replace the products_id with the one you want to feature

 

You have to set the setting "Display cart after adding a product" in admin to false or it will display the shopping cart instead of the main page.

 

HTH

 

Gunter

Archived

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

×
×
  • Create New...