• On my client’s website, on the product page, the price of simple products is not crossed out, while the price of variable products is crossed out.

    The site uses the DIVI theme.

    You can see the difference clearly on this page: https://tinyurl.com/zm5skprc

    This seems to affect other processes, such as in the Merchant Center, because it does not identify the real price of the product, since it is not crossed out.

    I hope you can help me with this problem and see if it is a bug or if there is something you can do.

    Thank you in advance.

    The page I need help with: [log in to see the link]

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

    (@sangeethasrinivasan)

    Hello,

    Thank you for reaching out. This is Sangeetha from the Customer Support Team.

    After thorough investigation with our development team, it appears that the issue may be caused by additional tags, such as span, within a tag.

    In order to provide you with the best assistance, could you kindly create a support ticket by clicking on the following link: https://www.flycart.org/support ? Please provide us with the details mentioned above and your site URL. Our support engineer will be readily available to assist you with any inquiries you may have.

    Thanks,
    Team Flycart

    Thread Starter DigitalAccess

    (@memomx)

    I added this function to my WP Code plugin, although it is not the most appropriate solution, it works and if it helps someone I will leave it here.

    function remove_woocommerce_price_display( $price, $product ) {
    // Check if the product is simple and on sale
    if ( $product->is_on_sale() && !$product->is_type(‘variable’) ) {
    return ”; // Returns an empty string to remove the default price
    }

    return $price;
    }
    add_filter( ‘woocommerce_get_price_html’, ‘remove_woocommerce_price_display’, 10, 2 );

    Thanks for the support.

    sangeethasrinivasan

    (@sangeethasrinivasan)

    Happy that you have figured it. ??

    If you require further assistance, please feel free to get in touch and create a support ticket by clicking here: https://www.flycart.org/support our support engineer will be available to assist you with your inquiries.

    Thanks,
    Team Flycart

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.