• Resolved mjoedladen

    (@mjoedladen)


    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 to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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

    (@mjoedladen)

    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

    (@mjoedladen)

    Before activating plugin

    https://snag.gy/QGrfU4.jpg

    after activating plugin

    https://snag.gy/EVdjKF.jpg

    Thread Starter mjoedladen

    (@mjoedladen)

    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

    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

    (@mjoedladen)

    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

    Thread Starter mjoedladen

    (@mjoedladen)

    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.

    Hi,

    Please raise a ticket here: https://www.xadapter.com/online-support

    So that I can check this.

    Regards,

    Thread Starter mjoedladen

    (@mjoedladen)

    Just raised it

    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.