developeithwordpress
Forum Replies Created
-
To put it simply, the plugin seems to ignore the “Variation menu order” as it is shown in the WordPress back-end product page
WordPress 5.3.2
Woocommerce Version 3.9.2I could not find a way to bulk edit (empty, really) the cells of that column, without deleting the column itself (the column, not the row it is in). But deleting the column messed up the website.
So, I did it manually and emptied the cells individually. Took a long time, but it worked and the site looks as it supposed to.
Thank you Mike and Nicola for pointing to the right direction.
I consider this as resolved.Code in plain text:
SELECT *
FROMwp_postmeta
WHEREmeta_keyLIKE ‘_product_image_gallery’Thank you Mike.
How do I do that? Sorry, I have not used mysql much. The ‘search’ function gives me these:
SELECT * FROM <code>wp_postmeta</code> WHERE <code>meta_key</code> LIKE '_product_image_gallery'I know this is not an SQL forum, I just thought, with your help, I could complete the thread in case someone else needs it.
Cheers
Thank you very much.
I just checked the DB through Phpmyadmin and indeed there are 809 instances with the _product_image_gallery post meta field.
Could I just delete the meta_value (those are the images referenced) in all those strings but keep the strings themselves? Is there a ‘bulk’ way to do it?
I have found this here, for single posts, but I do not how to use it (for all products).I am sorry, I have made the proper backup but I have not used phpmyadmin extensively.
Forum: Plugins
In reply to: [WooCommerce] Stop Gallery from loading in Product PageIt is, sorry about that, I thought I could make it a bit more clear and short. I will be posting here https://ww.wp.xz.cn/support/topic/duplicate-images-in-woocommerce-product-pages-problem-with-product-galleries?replies=2
Thank you for your response.
I don’t think its possible for this field to be filled automatically without user intervention.
That is what I thought. It is very strange. However, after the woocommerce update, every Gallery on every product is filled with at least one image.
If there is only a featured image for the product, the Gallery will have that featured image there.
If the product was a copy of another product and filled with other images, the gallery will also contain the current feature image AND the original image of the original product.
If the product also ha other images (eg. in the Product Short Description) the Gallery will them as well.
From what I understand, the only ‘condition’ is that an image must have an alt-tag, otherwise it is not added to the product gallery.Edit the product and see the ‘gallery’ meta box
There are no meta-data for the Woocommerce product gallery in the admin area. Just thumbnails of the images and a link to add gallery images to the product.
Since it is not practical to go into over 800(!) products to delete those superfluous images from the galleries, I kindly ask you: is there a simple way to prevent the Woocommerce Product Gallery from loading at all?
Many thanks.
Hi there,
I have already marked this as resolved, but I would like to note the following regarding my site using WPML and your plugin:1) If I do not use translated plugin po and mo files for the checkout language I need (in my case English), Pireaus gateway simply returns an error.
2) Pireaus and your plugin are asking for one specific set of links. I do not see an option in the plugin to add different links for different language pages.
3) If what you mean by ‘different gateways’ is creating different (language) versions of the same site with separate installations of wordpress and your plugin, I do not think it is worth the time/effort. Also, Pireaus gives you only four language codes, English, Greek, German and Russian. Even if I was using different gateways for each language, what if I have a checkout in Chinese, or Arabic? I find that having a default Woocommerce checkout, such as English, is more practical.In any case, thanks again for response – and your plugin!
It was my mistake to refer to the Polylang plugin. I am using WPML and the relevant WPML Woocommerce plugins.
Hi there,
the problem seems to be a conflict with the WPML plugin. Your plugin will work in the Woocommerce Checkout page in English, but not in other language Checkout pages. The only workaround I found for a multilingual eshop with English as the default (3 more languages) was the following:
1) Create an English language file with Poedit (your plugin has only Greek language po file).
2) Change the default language in English in your plugin’s php file.
And the crucial part:
3) Redirect the checkout page of any language (Greek or other) to the Woocommerce checkout page in English.That way the user will be redirected to the Pireaus page in English to enter their card data without errors. It is the only solution working for my setup and my target group (non-Greek customers).
If you can look into it and integrate a seamless operation with WPML, meaning that from any Checkout page the user will be automatically redirected to a Pireaus page in English, you will be much appreciated.
In any case, let me congratulate you again for an excellent plugin.
Thank you.