Title: part_payment_widget for category loop
Last modified: April 9, 2025

---

# part_payment_widget for category loop

 *  Resolved [Rokeybur Rahman](https://wordpress.org/support/users/rokeyfx/)
 * (@rokeyfx)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/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)

 *  Plugin Support [janettheg](https://wordpress.org/support/users/janettheg/)
 * (@janettheg)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/part_payment_widget-for-category-loop/#post-18407902)
 * Hi,
 * That module is designed to only be displayed on the product page and uses the
   product’s price to show the possible installment level. So at the moment, we 
   unfortunately can’t make any changes to the plugin. However, you can technically
   create your own shortcode based on the [existing function](https://plugins.trac.wordpress.org/browser/svea-checkout-for-woocommerce/trunk/inc/WC_Gateway_Svea_Checkout.php#L854)
   to modify it according to your needs.
 * Best regards
 *  Thread Starter [Rokeybur Rahman](https://wordpress.org/support/users/rokeyfx/)
 * (@rokeyfx)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/part_payment_widget-for-category-loop/#post-18411516)
 * can you give me clue how i created based on current functions?
 *  Plugin Support [janettheg](https://wordpress.org/support/users/janettheg/)
 * (@janettheg)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/part_payment_widget-for-category-loop/#post-18411741)
 * Hi,
 * Direct help with adjustments is outside the scope of support that we can provide
   from our end, but I recommend that you contact an agency or developer who works
   with such customizations.
 * Best regards

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘part_payment_widget for category loop’ is closed to new replies.

 * ![](https://ps.w.org/svea-checkout-for-woocommerce/assets/icon-128x128.gif?rev
   =2728301)
 * [Svea Checkout for WooCommerce](https://wordpress.org/plugins/svea-checkout-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svea-checkout-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svea-checkout-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/svea-checkout-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svea-checkout-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svea-checkout-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [janettheg](https://wordpress.org/support/users/janettheg/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/part_payment_widget-for-category-loop/#post-18411741)
 * Status: resolved