Thread: Pinterest
View Single Post
  #6  
Old 01-11-2012, 02:29 PM
 
MSfan MSfan is offline
 

Advanced Member
  
Join Date: Nov 2011
Posts: 56
 

Default 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
Reply With Quote