Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #863950

    Hi,

    Am I right in thinking that when using woocommerce there is no way to show the product price on the “Advanced Layout Builder for products” product pages?

    I have searched for an answer, but no luck

    Thanks

    #864676

    Hey mrb1972,

    Thank you for using Enfold.

    Please try to use the Plugin Additions > Product Purchase Button element. Or you can manually add the price in a code or text block.

    Best regards,
    Ismael

    #864736

    Thanks, however the Product Purchase Button doesn’t seem to show the product price (unless I’m doing something wrong) and manually adding the prices isn’t really practical if you have many products

    #865116

    Hi,

    Please edit the config-templatebuilder > avia-shortcodes > product_snippet_button.php file, go to line 67. Below that, you should see the following code.

    $output .= '<p class="price">' . $product->get_price_html() . '</p>';
    

    If you can’t see the code, add it.

    Best regards,
    Ismael

    #865247

    Thanks, however that code is already there, but the price isn’t showing for some reason

    #865707

    Ok I have got it working, all a bit odd

    The file “product_snippet_button.php” had the code “$output .= ‘<p class=”price”>’ . $product->get_price_html() . ‘</p>’;” already in it but it wasnt working.

    Then I noticed another file called “product_snippet_button_orig.php”, which didn’t have the code so I added it and it worked

    So for some reason product_snippet_button_orig.php is the file theme (shop demo) seems to use

    #866086

    Hi,

    Glad it worked. Let us know if you need anything else.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Show Price on Advanced Layout Builder for products’ is closed to new replies.