Print Page | Close Window

Open Cart in New Window

Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart Standard / PRO / SQL
Forum Description: All questions pertaining to SalesCart Standard, PRO and SQL should be posted here.
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=64
Printed Date: March/29/24 at 1:39am
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: Open Cart in New Window
Posted By: drafting
Subject: Open Cart in New Window
Date Posted: April/21/04 at 10:43am
Hello,

Is it possible to code the sales cart bot so that when the customer adds an item to the cart the cart will open in a new window?

Or.

Is it possible to add more than one item to a cart at a time. Then the customer will not have to go back and find the page to order more items.

thanks!



Replies:
Posted By: GreatWeb1
Date Posted: April/26/04 at 3:02am
If you set the value of postpone from False to True, it will loop back to the product page.

Change This:
<input type='hidden' name='postpone' value='False'>

To This:
<input type='hidden' name='postpone' value='True'>



If you want the form to open a new window:

Change This:
<form action='cgi-bin/shop1.asp' method='POST' name='scform'>

To This:
<form action='cgi-bin/shop1.asp' method='POST' name='scform' target='_blank'>


Posted By: Techno Geek
Date Posted: April/26/04 at 8:50am
One other thing you can do is base target. So the code would be:

<base>

but the problem is that all of the link on the page would open in a new window. You can also modify the code on shop1.asp to open do an add-to-cart confirm window...

-------------
Techno Geek
Customer Support Engineer
ComCity and SalesCart Technical Support


Posted By: drafting
Date Posted: April/26/04 at 1:22pm
Hello,

Thanks for your help.

When I added the target='_blank' code to the page, it would not save it.

Any ideas why it is not saving this change of code?


Posted By: GreatWeb1
Date Posted: April/27/04 at 1:18am
Are you refreshing the main page after it opens in a new window?


Posted By: drafting
Date Posted: May/14/04 at 1:03pm
Originally posted by Will Sani Will Sani wrote:


You can also modify the code on shop1.asp to open do an add-to-cart confirm window...


How do you do this? Is it complicated?


Posted By: Techno Geek
Date Posted: May/19/04 at 9:06am
Is it complicated enough that I wouldn't be able to explain here.

-------------
Techno Geek
Customer Support Engineer
ComCity and SalesCart Technical Support



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.04 - http://www.webwizforums.com
Copyright ©2001-2015 Web Wiz Ltd. - http://www.webwiz.co.uk