Anywhere Buttons for Variable Price (Donation) Not Working

General ShopSite user discussion

Re: Anywhere Buttons for Variable Price (Donation) Not Worki

Postby Omi » Wed Apr 27, 2011 11:29 am

...but where does the code go? When I tried to add it to my go anywhere button it wouldn't save it.
Omi
 
Posts: 3
Joined: Wed Apr 27, 2011 7:08 am

Re: Anywhere Buttons for Variable Price (Donation) Not Worki

Postby ShopSite Lauren » Wed Apr 27, 2011 11:56 am

You don't add it to the OrderAnywhere code, you place that code where you want it to appear on your website. It is not something that you can configure in the product information, because it is not a feature in ShopSite Starter. you would add that code right on your pages. If you are building your website outside of ShopSite, then you would place it right on your pages. If you are building your website in ShopSite, you will want to add that code into one of the text fields on the page you want it to appear on.
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Anywhere Buttons for Variable Price (Donation) Not Worki

Postby Omi » Wed Apr 27, 2011 12:23 pm

Thank you so much for your help.
Omi
 
Posts: 3
Joined: Wed Apr 27, 2011 7:08 am

Re: Anywhere Buttons for Variable Price (Donation) Not Worki

Postby terimurphy » Mon May 16, 2011 5:11 am

I am setting up Shopsite Starter for the sole purpose of creating a non-Paypal donation button for my church's webpage. I have used the code discussed above, but get a server error (and don't know how to "check the error log")

Code: Select all
<form action="http://highviewcf.org/cgi-bin/sc/order.cgi" method="post">
<input type="hidden" name="storeid" value="[hidden]">
<input type="hidden" name="dbname" value="products">
<input type="hidden" name="function" value="add">
<input type="hidden" name="itemnum" value="1">
<b>Donation amount</b> $<input name="1:qnty" size="4" maxlength="8" value="" type="text">.00<br>
<input type=image src="images/donate.png" name="Add to Cart" alt="Add to Cart">
</form>


For testing purposes, I have also used this code, which is working:
Code: Select all
  <a href="http://shopsite.globat.com/ss10.0/sc/order.cgi?storeid=*[hidden]&dbname=products&itemnum=1&function=add">
  <img src="images/donate.png" border="0">
  </a>


My testing page is http://highviewcf.org/donate.htm
I also need to know if its possible to remove the tax, weight, and shipping cost from the cart.
terimurphy
 
Posts: 1
Joined: Mon May 16, 2011 4:51 am

Re: Anywhere Buttons for Variable Price (Donation) Not Worki

Postby Jim » Mon May 16, 2011 7:04 am

Starter level stores do not allow the quantity to be input on the store page, it must be changed in the shopping cart. You will need to use the method that you have that now works and add a comment to have the shopper changed the quantity of the product in the cart to the amount they wish to donate. Another option would be to create several products that represent donation levels, say $10.00, $25,00 etc. then the shopper could choose the level of donation based on the price of the product.

You can turn of Tax and Shipping in the cart by turning them off in the backoffice of the store. For Shipping go to Commerce Setup > Shipping and click the None radio button in the "ShopSite Shipping Rate Calculations:" section and Save changes. For Tax go to Commerce Setup > Tax and click the "Use no sales tax" radio button and save changes.

Weight is never displayed in the cart so there is no need (or way) to change it.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Previous

Return to User Forum

Who is online

Users browsing this forum: No registered users and 101 guests

cron