Add a custom button to more info page

General ShopSite user discussion

Add a custom button to more info page

Postby alisml123 » Sun Feb 03, 2013 10:07 am

Is there a way we can add an additional button to the more info page of certain products?

Our goal is to set up a set up a "Make an Offer" option to certain products. Upon clicking the "Make an Offer" button; the customer would be re-directed to a form page which would populate with the Product Name and SKU#, then the customer would input the price and click "Submit". We could setup the "Submit" button on the form page to re-direct an email notification using FromMail so we are able to approve/disapprove the offers.

We are currently using ShopSite® Pro 11 sp2 r4 with Flex-Build-11.sst. You can view our site source at http://www.thenandnowtreasures.com

Is there an easier way to accomplish this?
alisml123
 
Posts: 18
Joined: Sat May 14, 2011 4:12 pm

Re: Add a custom button to more info page

Postby Jim » Mon Feb 04, 2013 8:01 am

You can us the Variable price product option. When using the variable price product the normal price field value become the minimum acceptable value for the product On the store page the price field would be an input field that the shopper can use to put what they are willing to pay for the item. Since the price is not displayed they don't know what your minimum is set to but it they enter an amount that is greater than the minimum price you set for the product they would be allowed to complete the purchase. If the value is to low they will receive a message in the cart that the value is to low and to enter a different amount.

As for doing it the way you are thinking you would need to create a separate page for each product with the product informaton on it, since there isn't an easy way to pass the product info to an existing html page. That page would need to have the product name, description already filled in in the formmail form and a field where they could enter the price they are willing to pay. Once they submitted a price and you accepted it you would still need a way to collect the money for it so in that case you could use a Variable Price product where the name, price and sku are all variable and have a page you drect the shopper to that has this layout for a product. They could then enter the product name, sku and price you agree on and submit the form. There is a product template called invoice.sst that has this layout defined.

EDIT. For the last option you would need to create a link from your normal product page to the one containing the formmail form it could be a simple href to the page since no info is being passed, something like <a> href="http://mydomain.com/productx_form.html">Make offer</a>
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Add a custom button to more info page

Postby alisml123 » Mon Feb 04, 2013 3:09 pm

Thank you so much for your suggestions and assistance. We have decided to take your advise and use the variable pricing option as the easiest way to accomplish the "Make an Offer" option to our customers. However, now our "More Info" pages do not display correctly. Maybe we missed something??

Below are the steps we took:

1) Modified product price to set a minimum.
2) Enabled variable pricing.
3) In "Product Layout", set the template to auction.sst (this also enabled the "Store Text" - Name Your Price)
4) Published

Everything looked great and worked as we had hoped, except for the layout on the "More Info" page. You may see an example of what is happening at http://www.thenandnowtreasures.com/product10145.html.

What did we miss? Why is the layout (global left side navigation, footer, and overall style) do different from the rest of the site.

Thank you again for all your assistance
Lisa
alisml123
 
Posts: 18
Joined: Sat May 14, 2011 4:12 pm

Re: Add a custom button to more info page

Postby Jim » Mon Feb 04, 2013 3:28 pm

I didn't design the various templates so I can't say why the Auction moreinfo page is different than your other pages, other than it is using a different product template and a different moreinfo page include file.

You could try making a copy of the Auction.sst template and replace the [-- DEFINE MORE_INFO_PAGE --] section of the template with the one used in the
Flex-Build-Product.sst. No guarantee that it will work but that might give you something closer to what you are looking for.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 110 guests