| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Pinterest
I know a number of you have probably never heard of pinterest.com... I've only heard about it recently. It is a website where members can 'pin' images of things they like (visual bookmarks). It seems a bit like 'liking' something on Facebook, but members see visual representations of each thing they've pinned, and they can group them into categories. It is integrated with Facebook and Twitter somehow. I'm still learning about it, but it seems like a great way to get exposure to your ecommerce site.
If members 'pin' an item from your store, it's kind of like free publicity. Not only will the member see/remember it, but their followers will see it as well. But how can I modify my files so it will include this in the product description (dynamically)? It needs a URL and an image for each product. Would someone know how to write the php that pulls this info? Here is a (non X-cart) store that has the Pin It button on their products. http://www.youcanmakethis.com/products/holidays/baking-memories-tea-towel-gingerbread-design.htm Sorry if I've posted in the wrong forum... please move if needed. Thanks
__________________
v4.4.4 Pro |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Pinterest
That is really interesting
You can see here http://help.qtmsoft.com/index.php?title=X-Cart:Adding_Facebook_Like_button_to_your_X-Cart_store the way QT adds the facebook mod there and I think you can edit the same files here is a code for pin interest http://pinterest.com/about/goodies/ If you need professional help let me know
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Pinterest
Quote:
PHP Code:
|
|||||||||
#4
|
|||||||
|
|||||||
Re: Pinterest
Oh wow, thank you! That got me 99% of the way there. The only thing missing is a description when the pinterest pop up comes up. It would be nice to pre-populate it with the name of the product.
__________________
v4.4.4 Pro |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Pinterest
For name you could use
Code:
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#6
|
|||||||
|
|||||||
Re: Pinterest
Get this, I've been testing with cherie's code for the last 20 minutes or so.... and somebody already repinned my test pin (which was of the 3 diamond princess cut ring that comes with the demo). That is too funny! Here I thought nobody sees my site since I'm just in test mode and it reached an audience before I even intended. The power of social media...
Anyway, thanks for the code for the product title. I found part of that (just without the default value). However I can't seem to add it to the url. I was able to populate a variable like this: {assign var=pinitdesc value=$product.producttitle} I tried adding this to the <a> tag: {if $pinitdesc} pi:pinit:description="{$pinitdesc}"{/if} but it doesn't work.. it doesn't add it to the url. However, if I hardcode &description=this%20%is%20a%20test to the url, it works fine. I guess "pi:pinit:description" isn't the right syntax.
__________________
v4.4.4 Pro |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Pinterest
Code:
Something like that
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#8
|
|||||||
|
|||||||
Re: Pinterest
Thanks - I'm able to populate the variable okay (I basically did a print statement to validate). It's adding it to the hyperlink tag that is the issue
I tried this but it does not work. I'm guessing there is an error with the part in red. I must not be using the correct syntax. Code:
__________________
v4.4.4 Pro |
|||||||
#9
|
|||||||
|
|||||||
Re: Pinterest
Quote:
Did you figure this out yet? I'm stuck with the same problem. I need to populate the Product Title in the description, but can't figure out how!
__________________
Version: 4.6.1 |
|||||||
#10
|
|||||||
|
|||||||
Re: Pinterest
Try this for the product detail page:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|