variable to insert regular product price ?

#128920
  • hi guys, i want to setup single product title like this %customterm(product_cat)% %sep% %title% for %wc_price% instead %wc_regular_price%

    %wc_price% shows the regular price – i dont know if %wc_regular_price% is the correct variable for the regular price but the regular price dont show up.

    also i would be interrested what variable displays the time when the product was posted.

    thx

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for getting in touch with us.

    The variable %wc_price% is activated in Rank math product variables when WooCommerce is activated. T get the regular price, you may have to create your own variable and add it to the titles and meta variables using this filter: https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-variables.

    There’s currently a variable that shows the date published: %date%. You can use the same filter I have suggested to have a variable to get the published time.

    Hope this helps you.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.