• Resolved tsunokko

    (@tsunokko)


    Hello everyone! I was tryna add some badges to my sliders, but they don’t show up. I think it doesn’t work because I have the WooCommerce Product Slider. Any ideas on how to make them appear?
    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Looks like it is compatibility issue with you slider plugin. Can you please give me a link to this WooCommerce Product Slider plugin?

    Regards

    Thread Starter tsunokko

    (@tsunokko)

    Hi, thanks for the fast response! You can find the plugin here: https://shapedplugin.com/woocommerce-product-slider/
    This is the official site, but you can find the free version even searching it in wordpress.

    Plugin Author ILLID

    (@mihail-barinov)

    Thanks. As I see this slider just doesn’t use any WooCommerce hooks so the label doesn’t have any chance to be displayed.

    The only option that you have here is to manually make some changes in the slider plugin code. But remember that after you update this plugin all changes will be lost.

    So open wp-content/plugins/woo-product-slider/src/Frontend/views/templates/loop/thumbnail.php file and add following code after oppening a tag

       if ( function_exists( 'awl_get_labels_html_by_position' ) ) {
                echo awl_get_labels_html_by_position( 'on_image' );
            }

    Also open wp-content/plugins/woo-product-slider/src/Frontend/views/templates/loop/title.php file and add following code

     if ( function_exists( 'awl_get_labels_html_by_position' ) ) {
                echo awl_get_labels_html_by_position( 'before_title' );
            }
    Thread Starter tsunokko

    (@tsunokko)

    Thank you, will definetly try this!

    Thread Starter tsunokko

    (@tsunokko)

    Yeah, IT’S WORKING!! Than you so much, really love your plugin.
    The only problem is that it doesn’t take the margin settings of your plugin. Any fix for this?

    Plugin Author ILLID

    (@mihail-barinov)

    Well you can try just to use following global styles:

    #wpsp-slider-section .advanced-woo-labels.awl-position-type-before-title {
        margin-top: 10px;
    }
    Thread Starter tsunokko

    (@tsunokko)

    Worked, thank you! Last question I swear, any ways of having this labels in the single product page? I have pick the “Show” option in the settings but it doesn’t. ?_?

    Plugin Author ILLID

    (@mihail-barinov)

    It is strange that you don’t see the labels on the single product page.

    Please tell me – did you change Hooks option inside the plugin settings page? Also – please tell me your current theme name.

    Regards

    Thread Starter tsunokko

    (@tsunokko)

    Hello, sorry for the late response! I manage to fix the product page problem! The plugin is now perfect! I have only one last problem when there are more than 3/4 labels in one product. In the mobile they start a new paragraph, but between them they have no margin and are stuck together. Is there a css I can use to distance them from each other that you know of? Here’s an example: https://prnt.sc/bvqnrEK3sjb3

    Thank you in advance!

    Plugin Author ILLID

    (@mihail-barinov)

    Please try to use following css:

    .advanced-woo-labels .awl-label-wrap {
        margin-bottom: 5px;
    }
    Thread Starter tsunokko

    (@tsunokko)

    Nope, this doesn’t work unfortunatly ?_?

    Plugin Author ILLID

    (@mihail-barinov)

    Can you give me a link to the page where I can see these labels?

    Thread Starter tsunokko

    (@tsunokko)

    Yeah sure. Can I ask for your email? The site is password protected at the moment so gotta send you the password to enter.

    Plugin Author ILLID

    (@mihail-barinov)

    Sure. It is [email protected]?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Badges doesn’t appear in WooCommerce Product Slider Pro’ is closed to new replies.