shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

How to add Product Enquiry Pro button on Shop and Single Product Page, I am using Page Builder

PEP Enquiry button is added using WooCommerce hooks on the Shop and single product pages. To show the enquiry button on the Shop page, PEP uses WooCommerce hook ‘woocommerce_after_shop_loop_item’.

On the single product page, an enquiry button is displayed using the hooks ‘woocommerce_single_product_summary’ and ‘woocommerce_after_single_product’. Enquiry button can be displayed on one of the two locations on the single product page, After single product summary and At the end of single product page as shown in the screenshot.

If ‘After single product summary’ is selected, PEP uses WooCommerce hook ‘woocommerce_single_product_summary’, otherwise ‘woocommerce_after_single_product’.

Using Page builder (for example, Elementor), one can create the Shop and single product page templates. When one uses such a page builder, WooCommerce hooks (mentioned above) may not get executed. In that case, PEP enquiry button is not visible on the Shop and single product pages.

PEP provides the solution for this issue by using shortcode. To show the enquiry button on Shop and single product pages created using page builder, one must add the PEP shortcode [ENQUIRY_BUTTON_DYNAMIC] in the template created using page builder as shown below.

Updated on May 19, 2021
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Was this article helpful?

shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Related Articles