Home Forums WoodMart support forum HTML Product Tag

HTML Product Tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #364848

    andreibran
    Participant

    Hi, I’d like to customize the element before the “add to cart button”, putting the installment price on it. I’d like to know what’s the product price HTML tag for me be able to do so. Just one example, I used to work with Shopify, and this is the code I used to use there.

    <p style='font-size:14px'>or in <span style="color:#009d40"><b>12x</b></span> of <span style="color:#009d40"><b>{{ product.price | divided_by: 11.5 | money }}</b></span> on the credit card.</p>

    I’d like to divide the price by 11.5 and display it.

    I appreciate your help.

    Regards,
    Andrei

    #364895

    Hello,

    The product price is wrapped in the following HTML tags
    <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>599.00</bdi></span>

    You can customize it at your own risk. Sorry, but we could not help with customizations this is out of our theme support scope.

    Best Regards

    #364907

    andreibran
    Participant

    Alright, no problem, I can take the risks, but one question: this code didn’t lead me to the product price, it only shows up the value of $599. I’d like to know the code/tag for the displayed product, and I’d simply divide it by 11.5.

    • This reply was modified 2 years, 8 months ago by andreibran.
    #364910

    Hello,

    Sorry but this is not possible with Simple HTML.

    It will require customizations that are beyond our limitations and support policy.

    Best Regards

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