1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Price Variable

Discussion in 'Free Divi Community Forum' started by Jason Daly, Aug 8, 2021.

  1. Jason Daly

    Jason Daly New Member

    Hi Team,
    I need to identify the price variable for one of customers using the DiviTheme on WooCommerce.
    Here is a sample product page: https://www.scaevola.com.au/product/go-kera-smoothing-treatment/
    Can someone please confirm what the price variable would be for this site would be?
    If you need more information please let me know.
    Thank you and I appreciate your help!
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

  3. Jason Daly

    Jason Daly New Member

    Hi There,
    Thanks so much for your response!

    So not quite, I don't think I need to install any plugins, I need to know about a variable used in your Theme.
    Specifically the Product Price variable.

    So if you were to visit this site for example, https://www.scaevola.com.au/product/go-kera-smoothing-treatment
    It's a Product Page using the Divi theme, and I need to know what the Price variable is that you use in your theme?

    I have a piece of code that will divide the price of each product by 4, but I would need to call on the price variable for your Theme.

    If I inspect the HTML code I can see the price is in this element: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>79.90</bdi></span>
    But I need to call on the actual price variable, so I'm a little lost as to what that would be.

    I'm sorry if I'm not phrasing this well, would it be possible to speak with one of the developers?
    Really appreciate you coming back to me on this.
    Have a great day!

    Thanks, Jason

    upload_2021-8-12_21-15-58.png
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade before / after image slider for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly note that we are just third party developers providing free help for the community.

    For official Divi support, kindly refer to: https://www.elegantthemes.com/members-area/help/

    Though, I believe your question has nothing to do with Divi, as Divi is just using the default Woocommerce settings.