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

Wrong positioning of “product total” on the custom product page templates in theme builders.

If you are using custom builders for the WooCommerce Product pages,
there are the chances of the miss-position of the Product Total text.
(This may happen due to the exclusion/repositioning of the ‘woocommerce_single_product_summary’ on the product page.)

Or you may just want to reposition the display of the product table somewhere else, you can make use of the CSP hook ‘wdm_csp_filter_product_total_position’.

The snippet below is an example of showing the product total after the add to cart button.

add_filter('wdm_csp_filter_product_total_position', 'wdmCSPFilterLocation', 10, 1);
if ( !function_exists('wdmCSPFilterLocation') ) {
    function wdmCSPFilterLocation($location){
    return 'woocommerce_after_add_to_cart_button';
    }
}

Updated on October 25, 2020
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