part_payment_widget for category loop
-
We use this shortcode [svea_checkout_part_payment_module] for show part payment in product page. we have custom product design. but when we use that shortcode for category archive under each loop it does not show because we see there are some condition on plugin code /inc/WC_Gateway_Svea_Checkout.php line number 840 like this “! is_product()”.
i change it to “! is_product() && ! is_product_category() && ! is_shop() && ! is_archive() && ! is_singular(‘product’)”. then it work.Is there anyway override this via function.php from theme file.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘part_payment_widget for category loop’ is closed to new replies.