Title: dhrf's Replies | WordPress.org

---

# dhrf

  [  ](https://wordpress.org/support/users/dhrf/)

 *   [Profile](https://wordpress.org/support/users/dhrf/)
 *   [Topics Started](https://wordpress.org/support/users/dhrf/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dhrf/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dhrf/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dhrf/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dhrf/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dhrf/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ECS - Ele Custom Skin for Elementor] Pagination not working on archive pages](https://wordpress.org/support/topic/pagination-not-working-on-archive-pages/)
 *  [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/pagination-not-working-on-archive-pages/#post-13277921)
 * I am also having the same problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Permalink Manager Lite] Permalink Manager Lite + Elementor](https://wordpress.org/support/topic/permalink-manager-lite-elementor/)
 *  [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-manager-lite-elementor/#post-13276783)
 * I had the same issue with the pro version but the most recent update fixed it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Disable price calculations?](https://wordpress.org/support/topic/disable-price-calculations/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/disable-price-calculations/#post-12923923)
 * [@brozra](https://wordpress.org/support/users/brozra/) No problem, I appreciate
   the input. PPOM was actually working fine with dynamic pricing before we added
   product addons. It seems to confuse those addons with it’s own and is calculating
   a second time, why I was hoping I could simply disable the calculations. I can
   add color swatches through product addons also, I just prefer PPOM for swatches.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Disable price calculations?](https://wordpress.org/support/topic/disable-price-calculations/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/disable-price-calculations/#post-12923761)
 * [@brozra](https://wordpress.org/support/users/brozra/) Thanks for the reply, 
   I tried that but it didn’t work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Disable price calculations?](https://wordpress.org/support/topic/disable-price-calculations/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/disable-price-calculations/#post-12922324)
 * I don’t need to hide the PPOM table. In my cart the discount is being calculated
   twice, which results in the price being incorrect. I don’t change the price of
   any items using PPOM so there is no reason it should be changing the prices. 
   Is there any way I can disable this?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Side Cart Woocommerce | Woocommerce Cart] Suggested Products input field not working](https://wordpress.org/support/topic/suggested-products-input-field-not-working/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/suggested-products-input-field-not-working/#post-12500470)
 * Hi [@xootix](https://wordpress.org/support/users/xootix/)
 * Thanks for your quick reply.
 * That’s strange input fields are being pulled in for my suggested products when
   they shouldn’t be. That explains why they weren’t functioning correctly as they
   shouldn’t be there. I went ahead and hid them with css.
 * I was actually experiencing that FF bug also. Thank you for linking the solution
   for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Side Cart Woocommerce | Woocommerce Cart] Hide suggested products when cross-sells empty](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/#post-12488240)
 * Hi [@xootix](https://wordpress.org/support/users/xootix/)
 * That seems to work perfect.
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Side Cart Woocommerce | Woocommerce Cart] Hide suggested products when cross-sells empty](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/#post-12480095)
 * Hi [@xootix](https://wordpress.org/support/users/xootix/)
 * Thanks for your quick reply.
 * Unfortunately that code doesn’t seem to work as $args[‘suggested_products’] doesn’t
   seem to be empty. When cross-sells are empty other products are being added to
   suggested products instead.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Side Cart Woocommerce | Woocommerce Cart] Hide suggested products when cross-sells empty](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/)
 *  Thread Starter [dhrf](https://wordpress.org/support/users/dhrf/)
 * (@dhrf)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/hide-suggested-products-when-cross-sells-empty/#post-12479891)
 *     ```
       function xoo_cu_wsc_sp_filter($args){
           $suggested_products = WC()->cart->get_cross_sells();
   
           if(empty($suggested_products)){
               $args['suggested_products'] = array(0);
           }
           return $args;
       }   
       add_filter('xoo_wsc_suggested_product_args','xoo_cu_wsc_sp_filter');
       ```
   
 * This seems to work, not sure if it is the best way to handle it though?

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