Right now it’s like this because we rolled the update back, I can do it right now and see the problem, do it now?
Right now it’s like this because we rolled the update back, I can do it right now and see the problem, do it now?
In this thread we described the complexities of updating the theme and your plugin, here on the weekend updated and had to roll back everything, because the headers disappear in categories and products, how to fix it?
I have now done a rollback and updated your plugin and theme again, everything repeats, the headers from categories and products disappear.
It turns out that the headlines are missing in the products, we will have to roll back this update if you do not help us solve it quickly:(
I replaced all the files in the child according to the instructions, but the headers did not return, please help
Maybe that’s the problem. We haven’t updated the Woocomerce plugin, there are a lot of edits to be made there as well
I’ll outline here the steps we take when upgrading, perhaps you can help simplify the process through a child topic.
1. woo.php – here we remove always this piece, it duplicates the headers in the code
add_filter( ‘woocommerce_loop_add_to_cart_args’, ‘etheme_product_loop_data_name’, 10, 2 );
function etheme_product_loop_data_name($args, $product){
$args[‘attributes’][‘data-product_name’] = $product->get_name();
return $args;
}
2. cart-checkout.php replace this file with the archive file, because translations are lost and they are not available through the Loco plugin for some reason.
3. here we replace ourselves file: ../meshar.ru/public_html/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php because translations are broken and they are not available through the Loco plugin for some reason.
4. here we replace ourselves file ../meshar.ru/public_html/wp-content/themes/xstore/woocommerce/cart/cart.php because translations are broken and through the Loco plugin they can’t be done either.
5. here we replace ourselves order-total file in review-order.php ../meshar.ru/public_html/wp-content/themes/xstore/woocommerce/checkout , also our translations always fail and through the Loco plugin they can not be done too.
6. here we replace ourselves proceed-to-checkout-button.php file for the same reason
7. here we replace ourselves thankyou-advanced.php for the same reason
8. here we replace ourselves file../meshar.ru/public_html/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php for the same reason (Quantity in goods word translate)
9. here we replace ourselvesthe file single-product-reviews.php in Xstore also to keep the translation in our language, in Loco there is no option too
These are the edits we make every time we update the theme and your plugin, if you can solve it all, you are welcome! And we are waiting for a solution for Headers, they have disappeared in all categories.
Now we have done all this and there is nothing to do, just if it can be simplified in the future, we will be glad!
Or do we need to check the Parent Category checkbox in those products that we want to leave and raise in sorting, if it is impossible to hide those that are not in the parent category?
I understand, but can’t we exclude those products that are not allocated to the parent category?
Example dropped the link: from below, random products that are not highlighted as the parent, can you somehow remove these from the output in the parent?
Thank you! One more thing, how to apply the style: .iconmain1{
word-wrap:break-word;
} to a text block, for some reason it doesn’t work, on our mobile the words don’t fit in the line.
Thank you so much!
Can I tell you more about how to do this? Is it possible for a video to be shown instead of a photo, right? I put in the product, just a white screen. Video instead of featured image included
Thank you, we will do so 🙂
1. Thank you very much!
2. I wrote it wrong, the items that have the status “Out of stock” have text instead of the icon for some reason.
I will write again to summarize
1. now we have set the Add to cart with quantity setting and this partially solves our problem, the only thing is if you can remove the quantity selection, leave only the button and raise it, it will be great.
2. There is no text on the buttons in the products, instead of an icon, can this be corrected?
and for some reason, the products are not available, the icon is also not displayed
that’s how we did it, if you can remove the quantity selection and raise the button as we had on the screenshot, we will be very happy
I hope I described it clearly, in general, we just want to return the trash icon instead of the text, if possible
I don’t understand how to return the icon instead of the text6 what you wrote in the topic, I edit, but nothing comes back, the icon only works when I click Add to cart with quantity, this icon is needed everywhere instead of the word “To cart”, can I do it?
You just did it for us, now we want to return the standard method, but we don’t know how, because you did something else in files in this topic: https://www.8theme.com/topic/is-it-possible-to-replace-the-trash-icon-with-the-word-add-to-trash/#post-310548 besides the style
If you can, just write us how to do it ourselves, we will update the theme and do it
Maybe I’m not asking the question correctly, we want to return the standard icon to the Add to Cart buttons, instead of the text, as it is now 🙂
I removed the style and added it to the files, but nothing changes, the inscription remains
I understand correctly that you need to remove the code from the css style and something from the documents /wp-content/themes/xstore-child/woocommerce/content-product-slider.php and /wp-content/themes/xstore-child/woocommerce/content-product.php But I don’t know what exactly
Thanks, I removed the dot before .img {
border-radius: 15px !important; } and everything worked too 🙂
Alas, I can’t do it, I put the text and the block gets big anyway, maybe you have a template somewhere ready for this block?
I understood, we will use Global Sections then, but we can’t make the same narrow strip as you have in the example, what are we doing wrong?
Yes, we added the code, but I don’t like that 1 letter is transferred, there are no other options?
.iconmain{
word-wrap:break-word;
}
If this is not possible, then maybe Global blocks will solve the issue, although I do not understand how to make a block correctly, we want something like this