View Cart / Checkout Links

Questions and answers about ShopSite Custom Templates

View Cart / Checkout Links

Postby ajhauser » Wed Jan 04, 2012 10:39 pm

I have the following two links in an include template:

1. <a href="http://brotherscountrysupply.com/cgi-bin/sc/order.cgi?storeid=*1e8471a159014817ab2094b6e99e04b86d&amp;function=show" class="UserButton_Cart" title="Brothers Country Supply - View my Cart"></a>

2. <a href="[-- SHOPPING_CART_URL --]" class="UserButton_Checkout" title="Brothers Country Supply - Proceed to Checkout"></a>

Both of them appear to go to my cart, but when I look at the code, they both have different storeid numbers. WHy is this and which method should I use in my include - the ShopSite process or command, or to actually type the entire URL in like link 1 above?

*CODE AS SEEN IN SOURCE FILE*

1. <a href="http://brotherscountrysupply.com/cgi-bin/sc/order.cgi?storeid=*1e8471a159014817ab2094b6e99e04b86d&amp;function=show" class="UserButton_Cart" title="Brothers Country Supply - View my Cart"></a>

2. <a href="http://brotherscountrysupply.com/cgi-bin/sc/order.cgi?storeid=*201c6049180e614467e2058b6da19ca9bb5d&amp;function=show" class="UserButton_Checkout" title="Brothers Country Supply - Proceed to Checkout"></a>

My other question is of there is a way to link my checkout link (#2 above) to the checkout screen - meaning, I want to skip past the view cart page and move directly to checkout.

Thanks!
Website Design, Website Development, eCommerce and Hosting
ajhauser
 
Posts: 84
Joined: Tue Dec 06, 2011 4:18 pm
Location: Earlville - the land of Earls

Re: View Cart / Checkout Links

Postby robm » Thu Jan 05, 2012 9:11 am

For the changing storeid numbers, this is an encrypted string that changes each time it is created. However, *any* generated string will work, so you can use either of your methods without any issue.

Per your checkout question, unfortunately, you cannot bypass the cart screen. You can only link to the cart page. You can label the link "Checkout" though so your customers see it as a way to complete their purchase.

Rob
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Re: View Cart / Checkout Links

Postby ajhauser » Sat Jan 14, 2012 1:25 am

Hey Rob - thanks on both accounts.
I think that completely answers the questions.
Much appreciated.
Website Design, Website Development, eCommerce and Hosting
ajhauser
 
Posts: 84
Joined: Tue Dec 06, 2011 4:18 pm
Location: Earlville - the land of Earls


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 7 guests

cron