joelseq on "[Plugin: WooCommerce] Variation Select Desapear after Update to 2.6"

ساخت وبلاگ

Hello,
After update to woocommerce 2.6, one of my variations stoped working, as you can see on the image: Here

The variation select apear, but when you click to choose the option it does have none available.

Not sure if this happen to more people? Is there any fix for this?

Best Regards

https://wordpress.org/plugins/woocommerce/

Check your product again, check if you really have terms in this attribute.

yes it is checked and selected on the product admin.
That happened to every product that use that variation. Only the variation 'TAMANHOS' started to do that after the update.

Seen this caused by outdated templates. Need your status report and link to product.

Also ensure variations have prices.

### WordPress Environment ###
Home URL: https://www.okprint.pt
Site URL: https://www.okprint.pt
WC Version: 2.6.0
Log Directory Writable: ✔
WP Version: 4.5.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: pt_PT
### Server Environment ###
Server Info: Apache
PHP Version: ❌ 5.3.29 - We recommend a minimum PHP version of 5.6. See: Como actualizar a sua versão PHP
PHP Post Max Size: 100 MB
PHP Time Limit: 120
PHP Max Input Vars: 7500
cURL Version: 7.38.0
OpenSSL/1.0.1e
SUHOSIN Installed: ✔
MySQL Version: ❌ 5.5.50 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
Max Upload Size: 100 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Post Remoto: ✔
Get Remoto: ✔
### Database ###
WC Database Version: 2.6.0
:
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
woocommerce_shipping_zones: ✔
woocommerce_shipping_zone_locations: ✔
woocommerce_shipping_zone_methods: ✔
woocommerce_payment_tokens: ✔
woocommerce_payment_tokenmeta: ✔
MaxMind GeoIP Database: ✔
### Active Plugins (36) ###
Redux Framework: por Team Redux – 3.6.0.2
Ultimate Addons for Visual Composer: por Brainstorm Force – 3.16.4
Better WordPress Minify: por Khang Minh – 1.3.3
WooCommerce Order Rules & Filters: por Actuality Extensions – 1.4
Contact Form 7: por Takayuki Miyoshi – 4.4.2
Dynamic Featured Image: por Ankit Pokhrel – 3.5.2
Envato WordPress Toolkit: por Envato – 1.7.3
EU Cookie Law: por Alex Moss
Marco Milesi
Peadig
Shane Jones – 2.9.2
Facebook Like Box: por Marcos Esperon – 0.1
Facebook Widget: por Milap Patel – 4.1
Google Analytics Dashboard for WP: por Alin Marcu – 4.9.3.1
WPBakery Visual Composer: por Michael M - WPBakery.com – 4.12
Loco Translate: por Tim Whitlock – 1.5.5
Multibanco (IfthenPay gateway) for WooCommerce: por Webdados – 1.8.2
Porto Content Types: por SW-THEMES – 1.2.2
Porto Shortcodes: por SW-THEMES – 1.4.3
Porto Widgets: por SW-THEMES – 1.2.2
Really Simple SSL: por Rogier Lankhorst – 2.3.9
Regenerate Thumbnails: por Alex Mills (Viper007Bond) – 2.2.6
Slider Revolution: por ThemePunch – 5.2.5
Search By SKU - for Woocommerce: por Matthew Lawson – 0.6.1
Shortcodes Ultimate: por Vladimir Anokhin – 4.9.9
TinyMCE Advanced: por Andrew Ozz – 4.3.10.1
WooCommerce Custom Product Designer: por tshirtecommerce.com – 4.0.0
WooCommerce Bulk Edit Product Variations: por matterico_themes – 2.5.4
Woocommerce Advanced Bulk Edit: por George Iron – 3.9
WooCommerce Conversion Tracking: por Tareq Hasan – 1.2.1
WooCommerce Print Invoice & Delivery Note: por Triggvy Gunderson – 4.1.5
WooCommerce Sequential Order Numbers: por SkyVerge – 1.7.0
WooCommerce Shortcodes: por WooThemes
Claudio Sanches – 1.0.0
WooCommerce: por WooThemes – 2.6.0
Yoast SEO: por Team Yoast – 3.3.1
WP-Optimize: por Ruhani Rabin – 1.9
WP Super Cache: por Automattic – 1.4.8
YITH WooCommerce Ajax Product Filter: por YITHEMES – 3.0.1
YITH WooCommerce Ajax Search: por YITHEMES – 1.4.0
### Settings ###
Force SSL: –
Currency: EUR (€)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
### API ###
API Enabled: ✔
### WC Pages ###
Loja base: #5 - /loja/
Carrinho: #6 - /carrinho/
Finalizar compras: #7 - /finalizar-compra/
Minha conta: #8 - /minha-conta/
### Taxonomies ###
Product Types: exteal (exteal)
grouped (grouped)
simple (simple)
variable (variable)
### Theme ###
Name: Porto
Version: 2.8.4
Author URL: http://newsmartwave.net/
Child Theme: ❌ – Se estiver a modificar o tema do WooCommerce ou um tema pai que não construiu pessoalmente
recomendamos o uso de um tema filho. Veja: How to create a child theme
WooCommerce Support: ✔
### Templates ###
Overrides: porto/woocommerce/archive-product.php
porto/woocommerce/cart/cart-totals.php
porto/woocommerce/cart/cart.php
porto/woocommerce/cart/cross-sells.php
porto/woocommerce/cart/mini-cart.php
porto/woocommerce/cart/shipping-calculator.php
porto/woocommerce/checkout/form-checkout.php
porto/woocommerce/checkout/form-coupon.php
porto/woocommerce/checkout/form-pay.php
porto/woocommerce/checkout/review-order.php
porto/woocommerce/content-product.php
porto/woocommerce/content-product_cat.php
porto/woocommerce/content-single-product.php
porto/woocommerce/content-widget-product.php
porto/woocommerce/global/form-login.php
porto/woocommerce/global/quantity-input.php
porto/woocommerce/loop/add-to-cart.php
porto/woocommerce/loop/loop-end.php
porto/woocommerce/loop/loop-start.php
porto/woocommerce/loop/no-products-found.php
porto/woocommerce/loop/orderby.php
porto/woocommerce/loop/pagination.php
porto/woocommerce/loop/rating.php
porto/woocommerce/loop/sale-flash.php
porto/woocommerce/myaccount/downloads.php
porto/woocommerce/myaccount/form-add-payment-method.php
porto/woocommerce/myaccount/form-edit-account.php
porto/woocommerce/myaccount/form-edit-address.php
porto/woocommerce/myaccount/form-login.php
porto/woocommerce/myaccount/form-lost-password.php
porto/woocommerce/myaccount/form-reset-password.php
porto/woocommerce/myaccount/lost-password-confirmation.php
porto/woocommerce/myaccount/my-account.php
porto/woocommerce/myaccount/my-address.php
porto/woocommerce/myaccount/my-downloads.php
porto/woocommerce/myaccount/my-orders.php
porto/woocommerce/myaccount/orders.php
porto/woocommerce/myaccount/payment-methods.php
porto/woocommerce/myaccount/view-order.php
porto/woocommerce/notices/error.php
porto/woocommerce/notices/notice.php
porto/woocommerce/notices/success.php
porto/woocommerce/order/form-tracking.php
porto/woocommerce/order/order-details.php
porto/woocommerce/order/tracking.php
porto/woocommerce/single-product/add-to-cart/exteal.php
porto/woocommerce/single-product/add-to-cart/grouped.php
porto/woocommerce/single-product/add-to-cart/simple.php
porto/woocommerce/single-product/add-to-cart/variable.php
porto/woocommerce/single-product/meta.php
porto/woocommerce/single-product/product-attributes.php
porto/woocommerce/single-product/product-image.php
porto/woocommerce/single-product/product-thumbnails.php
porto/woocommerce/single-product/rating.php
porto/woocommerce/single-product/related.php
porto/woocommerce/single-product/review-meta.php
porto/woocommerce/single-product/review-rating.php
porto/woocommerce/single-product/review.php
porto/woocommerce/single-product/sale-flash.php
porto/woocommerce/single-product/share.php
porto/woocommerce/single-product/short-description.php
porto/woocommerce/single-product/tabs/tabs.php
porto/woocommerce/single-product/title.php
porto/woocommerce/single-product/up-sells.php
porto/woocommerce/single-product-reviews.php

The variation starts to work when i delete it, and save the product. Then i add again that variation and starts to work for that product i edited.

One of the products is: this one

I've seen users of "WooCommerce Bulk Edit Product Variations: por matterico_themes" experience this. Be very careful with that plugin. Core cannot fix it if that plugin breaks your data.

Hello,
The plugin is installed but i not used it. The variations where working fine before the update, after the update that hapenned

Have you ever ran it? The last user affected did, and it broke their data and sounds a lot like what you're reporting...

no, not for some months or so

Looking at the source it appears no pa_tamanho are assigned to the product. Is it possible you just didn't notice until you updated?

If you export via Tools > export you can see what terms are assigned to this product for pa_tamanho and see if they are set or not. If you share that export XML and the product ID I can look.

want me to export products to?

The product ID is: 1445

Tools > Export, just products. Upload to dropbox or something.

It's 3132 actually. Data is set. Can you export variations in the same way for me?

The variation is missing meta data for pa_tamanho. This can only be fixed with a re-save unfortunately.

and how can this happen, since was working fine before the update?
I ask to prevent future problems

The update from 2.5 to 2.6 did not touch variation data. As I said, the only cause I can think of is that bulk edit plugin as that will edit your data.

thank you for the support

paulocarrasco
Member
Posted 4 days ago #

Hi there.

This has happened to me also. I'm developing a woocommerce based website and I have many products with variations set and working. Today I updated all my plugins and all the variations are missing like described by Joelseq. The only way I have found to make the variations appear in the front page in the dropdown menu is to resave the product. One by one.

In my stagging server I've Woocommerce 2.6 installed, and I've noticed that this problem also exists.

Something happened in the database upgrade from 2.5 to 2.6.x that affects variations.

Woocommerce should have a bulk edit for variations, so one could edit a set of equal products in one go. This would avoid too much manual work, editing products one by one!

joelseq
Member
Posted 10 minutes ago #

i try to resave the product but problem persist. I delete the attribute/variation that is not working, save the product, and then add the attribute/variation again. And its still not working.

I dont know what to do more.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 266 تاريخ : يکشنبه 13 تير 1395 ساعت: 7:41