The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 09-09-2013, 02:29 AM
Harry Ozkoch's Avatar
Harry Ozkoch is offline
 
Join Date: Sep 2012
Posts: 13
Question

Price Match / Questions About Product


Hello,

We wish to have a button on each product, similar to the Facebook "Send" button, but sends us (The Store Owners) a message with all the details of the product (SKU, Price, Options, Title, etc) as well as a custom message from the customer.

Is it possible?

OR could we simply have a button that sends the customer to a contact form (Another Page) but with the details of the product they were just at?

We intend to use it for customers to ask questions releated to that product or for Price Matching from another store.

Thanks
  #2  
Old 09-10-2013, 05:10 AM
smoothsailingco.com's Avatar
smoothsailingco.com smoothsailingco.com is offline
 
Join Date: Dec 2011
Location: CA / FL
Posts: 345
Default

I don't know if it's possible from the control panel of ecwid. I think the person would have to check out to receive any message that you'd want them to enter.

You could do the link option with the javascript api and jquery:
Code:
<script>
Ecwid.OnPageLoad.add(function(page) {
    if (page.type == 'PRODUCT' ) {
        $('.ecwid-productBrowser-price').after('<div class="price-match-container"><a href="url?productid=' + page.productId + '">Match Price link</a></div>');                
    }
});
</script>
To include jQuery:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" charset="utf-8"></script>
That would add a div with a link under the price. It would pass on the product ID for you to know which product they came from. Could you use that same ID to get more information about the product from ecwid: http://kb.ecwid.com/w/page/25285101/...hodgetaproduct

You could also use the same api and technique to insert a textbox and submit button so they wouldn't even have to leave the product page. That would accomplish option 1 but it would be a bit more work.

Last edited by smoothsailingclothing; 09-10-2013 at 05:13 AM.
The Following User Says Thank You to smoothsailingco.com For This Useful Post:
Maya (09-10-2013)
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
match, price, product, question, send button

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.