Best Premium and Free WordPress Themes › Forums › Online Shop › Upsell hook
- This topic has 2 replies, 2 voices, and was last updated 3 years, 1 month ago by
martong91.
- AuthorPosts
- May 30, 2019 at 11:20 pm #54419
martong91
ParticipantHello, first thanks for the great theme.
I would like to ask for help to hook the upsell template from ‘woocommerce_after_single_product_summary’ to ‘woocommerce_single_product_summary’ as I would like it to appear above the description but under the product’s picture.
I tried this code but didn’t work.
*/
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_upsell_display’, 15 );
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_upsell_display’, 61 );the only thing it did was to remove the upsell bar completely from the single product site
sorry for my english, and thanks in advanceMay 31, 2019 at 11:42 am #54445acmesupports
ModeratorDear martong91,
If you can provide us your site URL, we will observe and can provide you with possible solutions.
Best Regards!May 31, 2019 at 5:17 pm #54460martong91
ParticipantI’m still working on the site and making changes(I turned off ‘under construction’ mode tell me if it’s still block you out) but currently my single product page that has 1 upsell product hooked looks like this: https://vapecentral.hu/termek/eleaf-ello-duro-atomizer-6-5ml-2ml/
I also attach a picture to illustrate my thought. https://imgur.com/a/vlELGgW- This reply was modified 3 years, 1 month ago by
martong91. Reason: picture format
- This reply was modified 3 years, 1 month ago by
- AuthorPosts
- You must be logged in to reply to this topic.