Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

Hi again,

 

Does anyone have any ideas to post about this? Or if there is already a contrib, can you point me to it? I have not seen one yet and have searched the contribs and the forum for it.

 

Thanks,

Chris

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...