Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

DISPLAY_CART - Customer's Choice


chrisytsma

Recommended Posts

Questions is:

How can I configure my cart to have the ability to let the user decide whether or not they want the shopping cart displayed after they add a product?

Do I need to declare a new global variable that will have a definable value for every user/session?

 

Ideas/Requirements:

I have DISPLAY_CART set to false in my configuration

On shopping_cart.php and possibly on product_info.php, I want a check box available that looks like: [ ] Display Cart when adding products.

 

I want users who are not logged in to have the option shown to them on shopping_cart.php and product_info.php

 

I want logged in Customers to be able to save this option when they are logged in. This new customer variable would be saved when changed from any page. i.e. shopping_cart.php, product_info.php, or in their account.

 

If anyone has any good ideas on how to accomplish this, it would make a great contrib. I am moderately fluent in programming so jargon and code away!

 

Kind Regards,

Chris

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...