-
AuthorPosts
-
November 7, 2014 at 2:19 pm #347715
I need to move related products so that it appears underneath the product image and the description.
- This topic was modified 10 years ago by Luke86.
November 7, 2014 at 7:48 pm #347900Hey Luke86!
The related products display beneath the image and the description by default. Do you mean you want to have it display beneath the image but above the description and the add to cart button?
Go ahead and take a screenshot and highlight what your trying to do so we can get a better idea.
Regards,
ElliottNovember 14, 2014 at 1:58 pm #351234http://www.imagesup.net/pt-1414159661788.png – before – see how there are 4 related products and they appear under the sidebar.
http://www.imagesup.net/pt-15141596624112.png – after – only three related products and they appear on the right.
I added the sidebar by following these instructions – https://kriesi.at/support/topic/single-product-page-sidebar-2/
many thanks
November 14, 2014 at 9:54 pm #351524Hey!
Try commenting out line 965 in this file, /enfold/config-woocommerce/config.php.
//add_action( 'woocommerce_after_single_product_summary', 'avia_close_div', 3);
And then comment out lines 921 – 922.
//$output = "</div></div></div>"; //$output .= '<div id="av_section_1" class="avia-section alternate_color avia-section-small container_wrap fullsize"><div class="container"><div class="template-page content twelve alpha units">';
Cheers!
ElliottJuly 7, 2015 at 9:51 am #469489Hi,
Was this fixed? I’m trying to move the related products and the you may also like under the product information (in the white space and not under the grey area).
http://shop.greencastlecabinetry.com/product/antique-white/
Thanks!
LarryJuly 7, 2015 at 5:14 pm #469823Hey!
Did you try this? https://kriesi.at/support/topic/transparent-header-on-woocommerce-pages/#post-351524
Cheers!
ElliottJuly 8, 2015 at 6:20 pm #470445Hi Elliot,
I did try that, but not exactly what I need. I don’t want to completely remove them, but instead just move its position under the content area instead at the alternate content at the bottom.
Thanks!
LarryJuly 9, 2015 at 2:30 pm #470885Hey!
It’s working fine on my XAMPP setup. In the latest version it’s lines 1027 – 1028 and line 1071.
Regards,
ElliottJuly 9, 2015 at 6:44 pm #471070Hi Elliot,
I have the latest version too. I think what I didn’t tell you is I added some codes to implement a sidebar on the single product page. As you can see on the screenshot, the “Related Products and You may also like” is on the side bar instead on the main body.
http://shop.greencastlecabinetry.com/wp-content/uploads/2015/07/Screen-Shot-2015-07-09-at-9.34.13-AM.png
http://shop.greencastlecabinetry.com/wp-content/uploads/2015/07/Screen-Shot-2015-07-09-at-9.34.21-AM.png
http://shop.greencastlecabinetry.com/wp-content/uploads/2015/07/Screen-Shot-2015-07-09-at-9.34.23-AM.pngThanks!
LarryJuly 9, 2015 at 7:33 pm #471097Hi Elliot,
I just updated to the new version of Enfold. As expected, it resets everything. Please close this post. I decided not to implement sidebar on the single product page to just minimize the code modification, because I find it time consuming to keep on changing it every time there’s new update on the template.
As for the Related Product Page, i tried commenting out lines 1071, 1027 & 1028 in the /enfold/config-woocommerce/config.php and the output is satisfactory for me.
Thanks for your help. Hope that in the future template update, there’s an option to apply sidebar to the single product page and move the related products anywhere we want.
Thanks!
LarryJuly 10, 2015 at 7:25 am #471289 -
AuthorPosts
- The topic ‘Move Related Product’ is closed to new replies.