Forum Replies Created
-
Hi dear Im not allowed to give live site access. Please add the code inside staging and check. I can add if you want, I’ll do it now.
Atlantikos has a board of investors and dont allow give live site access to support, sorry 🙁 🙁
But staging is almost replic so wont be any difference.
in reply to: Hook and ShortcodeThis reply has been marked as private.in reply to: Hook and ShortcodeHi i dont know why its not working…
check this exemple: https://www.atlantikos.com.br/produto/suporte-para-plantas-macrame-com-tingimento-natural-de-extrato-de-rubia-cor-rosa/
it should only show these products: https://www.atlantikos.com.br/categoria-produto/casa-jardim-e-limpeza/decoracao/
in reply to: Hook and ShortcodeHi dear, help us only to display same child category!
in reply to: Hook and ShortcodeOnly child!
in reply to: Hook and ShortcodeHi dear,
I dont know if it worked good. Check thhis product for example: https://www.atlantikos.com.br/produto/gotas-de-chocolate-56-cacau-uso-culinario-500gr/
This is its child category: https://www.atlantikos.com.br/categoria-produto/alimentos/chocolates/culinaria/gotas-para-culinaria/
But in related section (first carousel after the product in the product page) is showing products from upper categories.
It has to show only products of the exact child category, so if a product has 5 sub-categories, it should show only product from the 5th sub-category. Which are more related!!
in reply to: Hook and ShortcodeHi dear,
In product page, the “related products” is not showing only products from same category. How can we show only the same categories from the exact same sub-category as the product loaded?
in reply to: Hook and ShortcodeOk, thank you so much!
in reply to: Hook and ShortcodeHi!
1. We use a plugin that uses the ‘woocommerce_after_single_product_summary’ hook to track product views in google analytics. They said that your plugin deactivated this hook and need to insert again.
2. But when publishing the page with the shortcode it shows “theres a critical error in the site”.
in reply to: Hook and ShortcodeThis reply has been marked as private.in reply to: Hook and ShortcodeHi,
1. No, we need to insert that hook inside product pages for google analytics to track out product views.
2. I did that but the site gets a critical error when i publish it.
Check the error message below (in portuguese):
Detalhes do erro
================
Um erro do tipo E_ERROR foi causado na linha 81 do arquivo /home/customer/www/atlantikos.com.br/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php. Mensagem de erro: Uncaught Error: Call to a member function get_average_rating() on null in /home/customer/www/atlantikos.com.br/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php:81
Stack trace:
#0 /home/customer/www/atlantikos.com.br/public_html/wp-includes/shortcodes.php(356): Wpbm_Shortcode->create_product_single_page_badge_shortcode(Array, ”, ‘woo_pro_badges’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/customer/www/atlantikos.com.br/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(woo_pr…’, ‘do_shortcode_ta…’, ‘[woo_pro_badges…’)
#3 /home/customer/www/atlantikos.com.br/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php(184): do_shortcode(‘[woo_pro_badges…’)
#4 /home/customer/www/atlantikos.com.br/public_html/wp-includes/shortcodes.php(356): Wpbm_Shortcode->create_product_single_page_badge_extended_shortcode(”, ”, ‘woo_pro_badges_…’)
#5 [internal function]: do_shortcode_taTHANKS!!!
in reply to: Hook and ShortcodeHi,
1. Is it possible to add the hook: woocommerce_after_single_product_summary
This is the wc hook used to track product views.
2. I want to be able to choose where i wanna add this shortcode: <?php echo do_shortcode(‘[woo_pro_badges_extended]’); ?>
Isnt it possible?
Thanks!!!
in reply to: Hook and ShortcodeHi,
Patienly waiting on the response…
Thanks!
But can’t the code be deleted in the child theme?
in reply to: Custom Product Archive Page IssuesI see, they are taking too long to answer and our only dev is full of work.You cant do anything else?
I thank you very much for all the help you’ve given us!
in reply to: Custom Product Archive Page Issues