VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 Bypass cart page - using minicart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - August 22 2005 :  08:01:06  Show Profile  Reply with Quote
I am using the minicart in a frameset, so that it is persistent to the user.
When I use the code to add to cart
It automatically shows the cart page, whcih is unnecessary due to using the minicart in a separate frame.
How do i bypass sowing the cart page, and allow the user to stay on the product page?

VP-ASP New User

127 Posts

Posted - August 22 2005 :  11:38:15  Show Profile  Reply with Quote
I haven't tried it but try setting the configuration variable xproductstayonpage to Yes.

Go to Top of Page

VP-ASP Super User

355 Posts

Posted - August 23 2005 :  04:20:15  Show Profile  Visit Sharon's Homepage  Reply with Quote
I tried this & it works fine

Go to Top of Page

Starting Member

2 Posts

Posted - August 26 2005 :  00:16:59  Show Profile  Reply with Quote
I fund out, that if you are using the code I specified, it does not work. In otherwords, I had an existing html page that I set the href properties to add to the cart page. If I had used the existing product page in VPASP, it worked fine.
BUT, in coding it as an href, which the developer's guide says you can do, the productstayonpage does not work. A developer form VPASP broke the news to me.
However after analyzing the code in shopaddtocart for a few minutes, I found a way to do this by passing a value in the url, and when finished adding the product to the cart array, I go back to my product page that I cam from.
I then added an if statement to shopaddtocart to only go back to the prodcut page if I was adding something to the cart. Otherwise I would never show the cart and allow to check out.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000