• Resolved luke1232112321

    (@luke1232112321)


    Hi, im having some issues with the shop/archive page. No matter which hook i select the label always displays ABOVE the image. Our shop page product layout is Image>Title>Price>Add2basket. I want the labels to appear between the image and the title but no matter what i do with the global or local settings it doesnt seem to change anything. Im using OCEANWP (child) and im guessing its a hook problem. If it is could anyone suggest which hook i should be using? Thanks

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter luke1232112321

    (@luke1232112321)

    Is anyone monitoring plugin anymore?

    Thread Starter luke1232112321

    (@luke1232112321)

    Nevertmind – ive deleted and used a different plugin due to lack of support

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    “Im using OCEANWP (child)” – did you change template for the loop product in the child theme? You may run there shortcode [br-wapl-all] to show labels in the place you need.

    Code will look like
    <?php echo do_shortcode('[br-wapl-all]'); ?>

    Regards,
    Dmytro

    Thread Starter luke1232112321

    (@luke1232112321)

    Thanks Dmytro – No idea what this means, whats a loop product?

    As mentioned, ive had to use a different plugin

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    As I see here https://www.expressmattress.co.uk/product-category/mattresses/all-mattresses/ you are still using our plugin for image labels.

    Is it cache?

    “Im using OCEANWP (child)” – is it custom child theme or you purchased a template?

    WooCommerce has templates for each output eg product and themes can rewrite them. Theme/child-theme should add woocommerce hooks to the same places while rewritting templates. No hooks – no places to output labels(and other plugins elements). We have a shortcode that you may use to add to the tempalte in your child theme [br-wapl-all]. This shortcode will display the labels in the place where you added it.

    WooCommerce templates – https://woocommerce.com/document/template-structure/
    Template list – https://github.com/woocommerce/woocommerce/tree/7.9.0/plugins/woocommerce/templates

    Loop folder has templates of elements of the product that is shown on the archive page eg shop.

    In your child theme search for folder woocommerce/loop and add our shortcode to the sale-flash.php or loop-start.php .

    Regards,
    Dmytro

    Thread Starter luke1232112321

    (@luke1232112321)

    I was testing your fix.

    Thanks for trying to explain, id rather avoid editing theme/template files but i appreciate you trying, i was hoping it would be an easy fix

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘POsition of label’ is closed to new replies.