In the past I used Responsive Sheffield Blue 2.0. There was an 'Add to Any' adaptation supposed to be present that would add the social icons, but it didn't work. I went into another template by the same author and copied the code for 'AddThis' - I forget from which file. I moved the code in my 'Add To Cart Box' section of template/my template/templates/tpl_product_info_display, When I switched up toe Responsive_Classic template I copied same changes over as shown in my attached:
I put it in the Add to Cart Box instead of (I think)the product listing page as I didn't like the clutter. Its still working for me. You can see website in my signature.Code:<!--bof Add to Cart Box --> <?php if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') { // do nothing } else { ?> <?php $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box $the_button = '<div class="max-qty">' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '</div><span class="qty-text">' . PRODUCTS_ORDER_QTY_TEXT . '</span><input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> <?php if ($display_qty != '' or $display_button != '') { ?> <div id="cartAdd"> <?php echo $display_qty; echo $display_button; ?> </div> <!-- begin added by Doug --> <div id="buynow-icons"><?php echo PAYMENT_ICON; ?> </div> <!-- end added by Doug --> <?php } // display qty and button ?> <?php } // CUSTOMERS_APPROVAL == 3 ?> <!-- bof AddThis --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=" async="async"></script> <div class="addthis_sharing_toolbox addthis_default_style addthis_32x32_style"> <a class="addthis_button_facebook"></a> <a class="addthis_button_twitter"></a> <a class="addthis_button_pinterest_share"></a> <a class="addthis_button_google"></a> <a class="addthis_button_compact"></a> </div> <!--eof AddThis--> <!--eof Add to Cart Box-->
Bookmarks