Title: Plugin changes theme
Last modified: March 28, 2018

---

# Plugin changes theme

 *  Resolved [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/)
 * ISSUE
 * i love this plugin it does what i need BUT
 * It seems to mis communicate with betheme.
 * Issue is when installing your plugin in it screws with the template
 * it shows a crossed out price with the original price on variation without vat
   but only when the price is the same on all variation
    This goes for both discounted
   and unddiscounted products.
 * it also change from showing price on instock variation to show it on all variation
   also them not instock.
 * do you have any experience with this problem ??
 * instalation is on a Betheme responsive theme and woocomerce.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-changes-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123049)
 * Hi,
 * we haven’t come accross this issue before, but if you can share the screeshot
   it would help us understand better.
 * Regards.
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123061)
 * on my live site i have hidden it in in css coding do you have some where i can
   upload the pictures ?
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123090)
 * Before activating plugin
 * [https://snag.gy/QGrfU4.jpg](https://snag.gy/QGrfU4.jpg)
 * after activating plugin
 * [https://snag.gy/EVdjKF.jpg](https://snag.gy/EVdjKF.jpg)
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123099)
 * on my old page when switching to another theme it is removed so i belive its 
   a thing between betheme and discount plugin.
 * I am not a prof developer. so its just a gues from my side
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123111)
 * Hi,
 * Please try this code snippet, add it to fucntions.php in the theme folder.
 * add_filter(‘woocommerce_get_price_html’, “xa_only_sale_price”, 99, 2);
 * function xa_only_sale_price($price, $product)
    { if(!is_cart() && !is_checkout()&&!
   is_ajax()){ if ($product->is_type(‘simple’) || $product->is_type(‘variation’)){
   return regularPriceHTML_for_simple_and_variation_product($price, $product); }}
   return $price;
 * }
 * function regularPriceHTML_for_simple_and_variation_product($price, $product){
   
   return wc_price($product->get_price()); }
 * Let me know if that helps.
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123165)
 * Removed the custom css and this is the front page where it shows price on all
   variation even tho they are not in stock..
 * settings are set to hide out of stock items.
 * [https://snag.gy/aW4E7S.jpg](https://snag.gy/aW4E7S.jpg)
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123183)
 * Doesent change anything. else it might be me that are not profinent in adding
   snippets.
    -  This reply was modified 8 years, 1 month ago by [mjoedladen](https://wordpress.org/support/users/mjoedladen/).
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123341)
 * Hi,
 * Please raise a ticket here: [https://www.xadapter.com/online-support](https://www.xadapter.com/online-support)
 * So that I can check this.
 * Regards,
 *  Thread Starter [mjoedladen](https://wordpress.org/support/users/mjoedladen/)
 * (@mjoedladen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123348)
 * Just raised it
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123387)
 * Thanks, we’ll communicate in the ticket.

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

The topic ‘Plugin changes theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dynamic-pricing-and-discounts-for-
   woocommerce-basic-version_2e8390.svg)
 * [Dynamic Pricing and Discounts for WooCommerce](https://wordpress.org/plugins/dynamic-pricing-and-discounts-for-woocommerce-basic-version/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-pricing-and-discounts-for-woocommerce-basic-version/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-pricing-and-discounts-for-woocommerce-basic-version/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-pricing-and-discounts-for-woocommerce-basic-version/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-pricing-and-discounts-for-woocommerce-basic-version/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-pricing-and-discounts-for-woocommerce-basic-version/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [xadapter](https://wordpress.org/support/users/xadapter/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-changes-theme/#post-10123387)
 * Status: resolved