Home Forums Makery Show Product type?

Show Product type?

  • sarikayabaris

    Hello is it possible to show “product type” (physical or virtual) in product page or products loop?

    Could you please help me to write a php code like this:

    get(‘product_type’)

    if’physical’
    echo (‘Physical’, ‘makery’),
    else ‘virtual’
    echo (‘Virtual’, ‘makery’),

    ihor Staff

    Please sign in or register to view replies from the support staff.

    sarikayabaris

    <?php echo $product->product_type; ?> works but…

    I used this for something else, I changed it from the language file to something different in Turkish.

    I need something like this:

    if’physical’
    echo (‘Physical’, ‘makery’),
    else ‘virtual’
    echo (‘Virtual’, ‘makery’),

    For example in this page : https://antirifinton.com/urun/deneme/

    You will see “simple” near the price, I wanted to write there “Virtual” or “Physical”

    I wish to be able to explain with my magnificent English 😀

    ihor Staff

    Please sign in or register to view replies from the support staff.

    sarikayabaris

    Yes! Thanks a lot!!!

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

You must be logged in to reply to this topic.