Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to create a page with a shopping cart with products in it?


Guest

Recommended Posts

Posted

I know this is quite a challenge, but I am running a promo on my store that if they fill out a form they will get one of my products for free.

 

My plan was to send an email to the customer with a link to a page where I will have the shopping cart already loaded with the free product and all they have to do is click checkout and go through the process.

 

In order for me to do that, I just added the product myself to the shopping cart and once on the shopping cart page, I copied the source code and created a new page where I pasted the code.

 

Well, I guess is not that simple. It looks good, but once you click on the checkout button, it seems it doesn't pass sessions and it empties the cart after the customer logins to their account.

 

Can anyone tell me what would I have to do to pass sessions?

 

Thanks!

 

Ricardo

Posted

I know this is quite a challenge, but I am running a promo on my store that if they fill out a form they will get one of my products for free.

 

My plan was to send an email to the customer with a link to a page where I will have the shopping cart already loaded with the free product and all they have to do is click checkout and go through the process.

 

In order for me to do that, I just added the product myself to the shopping cart and once on the shopping cart page, I copied the source code and created a new page where I pasted the code.

 

Well, I guess is not that simple. It looks good, but once you click on the checkout button, it seems it doesn't pass sessions and it empties the cart after the customer logins to their account.

 

Can anyone tell me what would I have to do to pass sessions?

 

Thanks!

 

Ricardo

My first thought was to utilize a get method, but it didn't work. so, I would try a javascript on load function to execute the add to cart button on your page.... just maybe it would work.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

My first thought was to utilize a get method, but it didn't work. so, I would try a javascript on load function to execute the add to cart button on your page.... just maybe it would work.

 

 

Ummm...any other suggestions?

Posted

Ricardo,

 

If you have a discount coupon code contribution installed, offer them a coupon code for the value of the items you have available for free. This contribution allows a percentage discount and you can choose which products it will work on. This is your best choice in my opinion.

 

http://addons.oscommerce.com/info/4269

 

 

Chris

Posted

Alternatively, use the coupon code to not give a discount, but instead do something else. Did something very similar on a "Chinese Food" shop where they wanted to give a free gift with each order.

 

It ended up looking a bit like this mock-up;

 

product_coupon.jpg

Archived

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

×
×
  • Create New...