Re: 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
Re: creinold Pinterest Button Addon
.. tried again, ignored the SQL patch error, pin it button works now with the Numinix mod :smile:
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?
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
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-l...t-p-13244.html
I've tried to install it in several places. It will not show. Do you have any suggestions?
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
}
?>
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
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
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: www.twiddletails.com/store
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
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:
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!
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
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-mod...-pin-it-button
I haven't had any problems from the Numinix one. Hope this helps :)