• When having extra product options setup it shows correctly the price for the products, however when there is no extra product options for the product it hides the price. How can we show the price even though there are no extra product options enabled??

    Screenshots:

    https://postimg.cc/mc861jjP
    https://postimg.cc/2q80YvYr

    • This topic was modified 1 year, 8 months ago by seb7100.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,

    in that case you should see the default WooCommerce price on product page, I invite you contact theme developers to fix it.

    We remain at your disposal.

    Thread Starter seb7100

    (@seb7100)

    Elementor could not fix this issue. This has come after installing your plugin.

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,

    If you are talking about the total price order table in the product page from our plugin, unfortunately this isn’t possible since it’s only shown when the product have add-ons.

    You could instead use the Change the product base price with the calculated total option from YITH > Product Add-ons & Extra Option > General Settings, to change the default product price in the page with the total price of the product with the selected add-ons.

    Let us know if you need more help.

    Thread Starter seb7100

    (@seb7100)

    Hi Facundo.

    What can I do if I have created the single product page with Elementor theme builder? Which price widget works with your plugin? Inserting the default WooCommerce price widget does not work, as it doesn’t update the price when selecting extra product options. The only price that updates is your custom price widget that gets injected before the add to cart button, which unfortunately is not shown on products that doesnt have any extra product options..

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,

    You can add the following PHP code in the functions.php file of your current theme to tell the plugin which price element should be replaced with the total order amount:

    if ( ! function_exists( 'yith_wapo_custom_product_price_class' ) ) {
    	add_filter( 'yith_wapo_replace_product_price_class', 'yith_wapo_custom_product_price_class', 20 );
    	function yith_wapo_custom_product_price_class( $price_class ) {
    		$price_class .= " , div.elementor.product .elementor-widget-woocommerce-product-price .price";
    		return $price_class;
    	}
    }

    You might need to change the CSS selector div.elementor.product .elementor-widget-woocommerce-product-price .price with correct selector for your site.

    We’ll remain at your disposal.

    Thread Starter seb7100

    (@seb7100)

    Hi Facundo,

    Thank you for your answer. How exactly would it look when my price has the CSS class of (see example below)

    https://postimg.cc/JHt9QD9n

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    With that structure it might be a problem to select the element as it doesn’t have a unique selector and using their class might change other elements. If you are editing the template, please make sure it has a unique ID or class that can be selected it can include any word that can describe the element that will contain. Also try to make that container only contain the price as currently is an h2 that has a text and a price.

    With the change we will access to your page and give you the correct selector if needed.

    Have a great day.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Prices are hidden when no extra product option’ is closed to new replies.