EAN Labels by category

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #117201
    lorenzo
    Participant

    I need to set different EAN labels in product page for differernt categories of products. Is it possibile?

    E.g. BOOKS -> “ISBN”, MAGAZINES -> “ISSN”

    Thank you.

    #118874
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thanks for reaching out.

    We are sorry to let you know that at this moment it is not possible to use different EAN labels based on the categories. However, I have passed your request on to the development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    #119086
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Please update the plugin to the latest v4.6.0. It’s now possible to use different EAN labels based on the product categories.

    You’ll need to use shortcodes for that. Go to “WooCommerce > Settings > EAN > General”, and set the “Single product page > Template” and/or “Shop pages > Template” options to something like this (by default options are set to EAN: %ean%):

    [alg_wc_ean_if_product_cat in="books"]ISBN[/alg_wc_ean_if_product_cat][alg_wc_ean_if_product_cat in="magazines"]ISSN[/alg_wc_ean_if_product_cat][alg_wc_ean_if_product_cat not_in="books,magazines"]EAN[/alg_wc_ean_if_product_cat]: %ean%

    Please give it a try and let me know what you think. And if you like the plugin, please consider leaving me a rating here or here.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.