This topic has 16 replies, 3 voices, and was last updated 7 years, 8 months ago ago by Jack Richardson
Hi, I tried to install this plugin and it does not work well with the theme.
It should show the label after the product image and before the product name but it shows before the image product.
I have contacted the plugin support and they have reply me this:
Hi,
Our plugin use ‘woocommerce_before_shop_loop_item_title’ to show labels. as you can see from the hook name it should be right before item title but for some reason your theme developer decide that image is part of title and hook is in wrong place.
You can contact theme developer about this issue.
For me this is a problem because I need to show product labels.
Is there any solution for this?
Thank you
Hello,
Please show a page of the issue and a screenshot for better understanding.
Also provide FTP/WP Dashboard credentials in private content.
Thank you.
Regards,
Eva Kemp.
Hello Eva Kemp,
thank you for the reply
I send the test environment copy of the web since that is where I am testing the ADVANCED PRODUCT LABELS FOR WOOCOMMERCE.
I have also tried with the theme storefront and xclean (this from 8theme) themes and in these it works perfectly.
Thank you very much.
Hello,
Sorry, but it’s a bit unclear for me. What should I see on the “testeme” page. I see the label on “testeme/tienda/supertendedor”. What should it be displayed on the “testeme” page?
Could you please show screenshots for better understanding?
Also please provide FTP credentials.
Thank you.
Regards,
Eva Kemp.
Hello Eva Kemp, thank you for the quick reply.
I certainly have not explained myself well.
What I try to say is that the labels are not being displayed in the right place in Classsico Theme.
In the Classico theme puts them before the product image when they should appear after the product image likein other themes I have tried like storefront and XClean from 8Theme.
At first I thought it was a plugin problem that was not displaying the label in the right place on my site, so I tried these with these 2 other themes (storefront and xclean), but in these is displaying correctly.
I hope I have explained better. Sorry for my bad English.
Thank you
Hello,
When I tried to access WP login page I was redirected to this site http://raiolanetworks.com/bloqueos/login.php .
Is the link correct?
Please check it.
Thank you.
Best regards,
Jack Richardson.
Hello Jack Richardson.
This is a message from the hosting provider as security to avoid attacks.
They tell me that you must install the Spanish language in the browser. It does not have to be configured as a default language, it must only be installed.
I hope this is no complication for you.
Thank you so much
Hello,
I’ve installed Spanish language in my browser but I’m still getting redirect to this page http://raiolanetworks.com/bloqueos/login.php when trying to access WP admin page.
Could you please disable this redirect?
Thank you.
Regards,
Eva Kemp.
Hello,
The hosting have disabled the redirect.
Please check that you have no problem login into the admin page now.
Sorry for all the inconvenience.
Thank you
Regards
Hello,
Thank you. I was able to access the dashboard.
I’ve edited the file wp-content/themes/classico/woocommerce/content-product.php and moved the code below from line 72 to line 144:
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10 [REMOVED in woo.php]
* @hooked woocommerce_template_loop_product_thumbnail - 10 [REMOVED in woo.php]
*/
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
Please check the pages now.
Regards,
Eva Kemp.
Hello Eva Kemp
Now it looks as it should, it’s perfect thank you very much!!
I wanted to ask you.
When there is an update of the theme, these changes will be lost?
Will I have to change the code again in the file?
Thank you
Regards
Hello,
Yes, the changes will be lost.
In this case you can create a child theme https://codex.wordpress.org/Child_Themes and move the file there. The path should be classico-child/woocommerce/content-product.php.
Regards,
Eva Kemp.
Hello Eva Kemp
I just realized that the label also goes wrong in related products, should appear below.
It would be necessary to change something more in the content-product.php archive code? You could take a look?
Thanks in advance
Regards
Hello,
What if I propose you to display labels in related products section like this http://prntscr.com/eeq7rd ? If you like this variant add the css code in Theme Options > Styling > Custom CSS > Global Custom CSS section:
.single-product .br_alabel_label.br_alabel_center {
position: absolute;
z-index: 100;
}
In this case you don’t need to edit source files.
Regards,
Jack Richardson.
Hello,
Please take my apologies for delay.
I’ve moved the following code in the wp-content/themes/classico/woocommerce/content-product-slider.php file from line 76 to 149:
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10 [REMOVED in woo.php]
* @hooked woocommerce_template_loop_product_thumbnail - 10 [REMOVED in woo.php]
*/
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
Please check related products now.
Regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up