• digitalille

    (@digitalille)


    Hello,

    I’m trying to add custom badges (images depending on categories). Badges are showing well on product pages, but aren’t showing on carrousels or on archive pages.
    I’m using divi + bodycommerce. Maybe it is possible to add it with custom css class or id to images products ?
    Thank’s !

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    You can try to change “Shop hook” option in plugin settings -> Advanced tab.

    You cannot use some thing like CSS classes or JavaScript, because plugin uses PHP hooks on server side to display labels.
    You can only set correct hook to display it or you can use shortcode inside products loop.

    Regards,
    Oleg

    • This reply was modified 4 years ago by RazyRx.
    Thread Starter digitalille

    (@digitalille)

    Hello,

    I tryed every hook and no one is working.

    Thanks again

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Do you use custom loop layout in bodycommerce for products?

    Regards,
    Oleg

    Thread Starter digitalille

    (@digitalille)

    Hello,

    Yes exactly !

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Then you can use shortcode [br-wapl-all] to display labels in products loop.

    Regards,
    Oleg

    @digitalille Hi!
    Did it work for you?
    I’m also using divi + bodycommerce and I’d like to know if it works before installing the plugin.
    Thank you

    Thread Starter digitalille

    (@digitalille)

    @umutusu Hello !

    Sorry for the late answer. The plugin sadly didn’t work for me.

    However I asked BC support and they did an update to add custom badges. You can do it with the module : .ARP Category loop (and use the category image).

    It’s a little bit tricky with custom positioning however it works well you can have a look of it here : https://lephebiere.fr/categorie-produit/nos-bieres/
    Badges are in top right

    If you need any help don’t hesitate !

    @digitalille Pas de probleme.
    Moi en fait, j’ai reussi a faire fonctionner (sans avoir du vrai control sur l’emplacement) mais si je px faire avec BC directement c’est encore mieux.
    Merci pour la reponse.
    Et jolie site!

    Thread Starter digitalille

    (@digitalille)

    Yes test avec bc ! Je leur ai gentiment demandé l’option et ils l’ont dev sur mon site puis ajouté en mise à jour ??

    Tu peux ajouter toutes les images des catégories (y compris plusieurs images si le produit est dans plusieurs catégories). Et après c’est du custom padding négatif pour faire remonter le badge au dessus de l’image

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Badges not showing divi + bodycommerce’ is closed to new replies.