Forums / All Other Contributions/Addons / creinold Pinterest Button Addon

creinold Pinterest Button Addon

Started by creinold on 10 Mar 2012, 1:00 AM · Views: 14,601

Results 81 to 98 of 98
6 Jun 2012, 6:24 AM
#81
edvon avatar

edvon

New Zenner

Join Date:
Aug 2009
Posts:
26
Plugin Contributions:
0

creinold Pinterest Button Addon

Hi,
I tried this mod and the pin it button appears, but it when clicking the pin it button it just shows an empty box and the URL in the pinterest.com pop up is just the home page directory...no product image :dontgetit
Tried the Numinix mod, but got as far as trying to install the SQL patch that throws the error:
ERROR: Cannot execute because table admin_pages does not exits. CHECK PREFIXES!

I am using 1.3.8, I'd really love to have a working pin it button...

edvon

7 Jun 2012, 3:17 AM
#82
edvon avatar

edvon

New Zenner

Join Date:
Aug 2009
Posts:
26
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

.. tried again, ignored the SQL patch error, pin it button works now with the Numinix mod :smile:

7 Jun 2012, 5:25 PM
#83
pricediscrimination avatar

pricediscrimination

Zen Follower

Join Date:
May 2008
Posts:
401
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

This only allows sharing of the first main image instead of allowing the user to select any of the additional images?

9 Jun 2012, 6:24 AM
#84
sunshinesplayroom avatar

sunshinesplayroom

New Zenner

Join Date:
Feb 2012
Posts:
1
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

mart07:

its too complicated, and will change some former setting also slow down the speed open site. just insert this code in the tpl_product_info_display.php

<!--Bof creinold Pinterest .) --> <div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes($products_description); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div> <script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script> <!--eof creinold Pinterest .) -->

then it will run good. just like this: http://www.mart07.com/europe-style-lace-dress-apricot-p-13244.html

I've tried to install it in several places. It will not show. Do you have any suggestions?

28 Jun 2012, 7:25 PM
#85
mydogisfat avatar

mydogisfat

New Zenner

Join Date:
Jun 2012
Location:
Winter Springs, FL
Posts:
17
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

I installed the pin in button (thank you for this!) it goes to Pinterest just fine.
But next to the button shows this on each product page:
" class="pin-it-button" count-layout="horizontal">Pin It

I am not as smart as I want to be and was wondering how to get rid of these words. I've gone thru this forum to see if anyone else gets part of this code visible but looks like I'm the only one :(

This, I assume, comes from the tpl_product_info_display.php file...

  • display the main product image
    */
    require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) --> <div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes($products_description); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div> <!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) --> <?php } ?>
28 Jun 2012, 7:38 PM
#86
mydogisfat avatar

mydogisfat

New Zenner

Join Date:
Jun 2012
Location:
Winter Springs, FL
Posts:
17
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

I took out the visible lines from the code and although it solved the issue on some products, other products multiple pin button show up (and the description disappears). :dontgetit

31 Jul 2012, 6:18 AM
#87
inspry avatar

inspry

New Zenner

Join Date:
Jul 2012
Posts:
1
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

Hey Creinold!

I just wanted to thank you for your code for using Pinterest with Image Handler 3! I am not using your mod, but I modified the Zen Bookmarking Widget and it allowed me to see the image in Pinterest.

Thanks a bunch!

Link to working page: http://store.nicholaslodge.com/mc235-p-5663.html

22 Aug 2012, 11:32 PM
#88
twiddletails avatar

twiddletails

New Zenner

Join Date:
Sep 2008
Location:
Seatte, WA
Posts:
47
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

I have spent the whole day trying to get this mod to work and I'm sure it's something simple.

The Pinterest window pops up, but there is no image or description and the "Pin it" button is greyed out.

I used WinMerge on the tpl_product_info_display.php files and the only difference between the mod and mine was the little bit of code:

<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) --> <div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes($products_description); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div> <!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

I replaced my jscript_main.php and meta_tags.php with the ones provided.
I am using the Ashley Pink template from Picaflor Azul.
Any advice will be appreciated.

URL: https://www.twiddletails.com/store

8 Oct 2012, 8:13 PM
#89
only1platinum avatar

only1platinum

New Zenner

Join Date:
Oct 2012
Posts:
1
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

twiddletails:

I have spent the whole day trying to get this mod to work and I'm sure it's something simple.

The Pinterest window pops up, but there is no image or description and the "Pin it" button is greyed out.

I used WinMerge on the tpl_product_info_display.php files and the only difference between the mod and mine was the little bit of code:

<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) --> <div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes($products_description); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div> <!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

I replaced my jscript_main.php and meta_tags.php with the ones provided.
I am using the Ashley Pink template from Picaflor Azul.
Any advice will be appreciated.

URL: https://www.twiddletails.com/store

I am having this same problem. Not sure what I am missing. I believe I have installed everything correctly but no luck. I get a blank pinterest page pop up wit no image and no description or pricing info listed. Any help would be great for us. Really wanna get this going along. Thanks!

8 Oct 2012, 8:18 PM
#90
nolsowski avatar

nolsowski

Inactive

Join Date:
Aug 2010
Posts:
324
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

only1platinum:

I am having this same problem. Not sure what I am missing. I believe I have installed everything correctly but no luck. I get a blank pinterest page pop up wit no image and no description or pricing info listed. Any help would be great for us. Really wanna get this going along. Thanks!

I ended up uninstalling this one (couldn't get it to work right) and I installed this one by Numinix. Here is the direct link: https://www.numinix.com/zen-cart-modules/social-networking/pinterest-com-pin-it-button

I haven't had any problems from the Numinix one. Hope this helps :)

27 Oct 2012, 10:43 PM
#91
dinix avatar

dinix

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

Hello i install creinold Pinterest works fine but not on some characters like á ã. exemple in Portugal we use câmara (its camera) and if the product have one of this characters i cant do the pint it.
I think they are utf-8 characters. is possible to place a line of php code to help convert these characters?
can someone help
Tanks

5 Nov 2012, 8:01 AM
#92
fabburl avatar

fabburl

New Zenner

Join Date:
Sep 2012
Posts:
18
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

First off, let me say thank you for this plug-in, it is a tremendous help to zen cart website owners.

I'm having the following problem, however. When users are pinning something from my site, the link being generated by Pinterest is always going to

/index.php?main_page=product_info and not to the individual page they are pinning from. Same thing happens when I personally try and pin something from my site using your addon. Any idea why this is happening?

Thanks again for the addon

4 Jan 2013, 6:45 AM
#93
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

Every is working but the number of times pinned? I am adding the follwing to:
\includes\templates\My_Tempelate\templates\tpl_product_info_display.php

<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

<a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo $products_name; ?> <?php // base price if ($show_onetime_charges_description == 'true') { $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />'; } else { $one_time = ''; } echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']); ?>" class="pin-it-button" count-layout="**horizontal**">Pin It</a>

<!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

Can't figure this one out!

Using Zen Cart 1.5.1

10 Mar 2013, 3:01 PM
#94
dsimon avatar

dsimon

New Zenner

Join Date:
Mar 2012
Posts:
82
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

Has anyone used this with the facebook addon?
I would like to have both next to each other on the product page
Any help would be greatly apprecated.

PS I am a real new zenner ;)

my store is https://www.thecoinopshopinc.com

28 Mar 2013, 3:14 PM
#95
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

Where I have ** Products Price (Net):** and Products MSRP: added, I am getting the "<span class=" at the end of Product name?

Attachment 12247

Also where the price is set by attributes, I am getting <br>

Attachment 12248

Any ideas?

Using Zen Cart 1.5.1

28 Mar 2013, 3:39 PM
#96
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

does anyone know where "zen_get_products_display_price" is defined ?

When I take it out of the code <span class= and <br /> go away!

But the price disappears also.

Using Zen Cart 1.5.1

2 Jan 2015, 6:41 PM
#97
michaelchu avatar

michaelchu

Zen Follower

Join Date:
Nov 2011
Posts:
121
Plugin Contributions:
0

Re: creinold Pinterest Button Addon

I suppose no one is supporting this add-on anymore??