Request for Quote

General ShopSite user discussion

Request for Quote

Postby Heyco » Fri Nov 09, 2012 9:17 am

Is there a simple way to make it so items entered with a price of 0.00 would replace the "add to cart" button with a "request a quote" button? Have the "request a quote" either popup a form or load a new page with the form to fill out and submit for a quote.

I have items I would like to list, but can since the items cost fluctuates daily.


Thanks
Heyco
 
Posts: 1
Joined: Wed Nov 07, 2012 8:35 am

Re: Request for Quote

Postby ShopSite Lauren » Tue Nov 13, 2012 10:08 am

There isn't a simple way, but you can modify the template to do this.

In the product template (if you are using a built-in ShopSite template, in both ShopSite Manager and ShopSite Pro you can copy the product template you are using by going to Merchandising > Custom Templates > Page/Product Template > Copy ShopSite Product Template), you can replace the Add To Cart section (just the button input or href portion would be easiest) with the following code:

[-- IF PRODUCT.Price "$0.00" --]
<a href="mailto:youremail@yourdomain.com?subject=Quote Request for [-- PRODUCT.Name REMOVE_HTML --]&body=I would like to get a quote for the [-- PRODUCT.Name REMOVE_HTML --][-- IF PRODUCT.Sku --] - [-- PRODUCT.Sku --][-- END_IF --]">Request A Quote</a>
[-- ELSE --]
[-- IF ADDIMAGE? --]
<input class="pr_add" type="image" [--ADDIMAGE--]>
[-- ELSE --]
<input class="pr_add" type="submit" value="[-- ADDTEXT --]">
[-- END_IF --]
[-- END_IF --]

Note the code below just sets up an email to send. Make sure you add in your email address in the bolded/colored area above.
- 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


Return to User Forum

Who is online

Users browsing this forum: No registered users and 113 guests