• Resolved rqcmt

    (@rqcmt)


    When “Variable product” is reordered from the order history, the value of the variation is dropped.

    This occurs only when the attribute name is Japanese. It has not been verified if the problem occurs with all 2-byte characters.
    The problem occurs only when reordering from the order history. There is no problem when placing a normal order.

    Attribute name is Japanese
    https://prnt.sc/1MvUhsFazUE4
    Attribute name is English
    https://prnt.sc/-Kly2ClNryos

    Also, this problem is not dependent on other plug-ins, themes, etc.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @rqcmt

    Thanks for reaching out!

    When “Variable product” is reordered from the order history, the value of the variation is dropped.

    Would you be able to share the step-by-step flow when reordering from the Order History so that we could check this further since I am unable to replicate this from my end?

    Additionally, I’d like to understand your site properly, please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    Thanks!

    Thread Starter rqcmt

    (@rqcmt)

    Hi @xue28

    The flow that causes the problem is as follows.

    1.Click on the relevant order from Orders on your account page

    2.You will be transferred to the Order details page.
    Here, the contents of the variation are correctly displayed.
    Re-order from “Order again” on the page.

    3.The cart page is opened.
    Here, if the attribute name is in Japanese, the contents of the variation will be left out.
    As shown in the previous image.

    No error occurs and no log exists.
    The system status is shown below, but this phenomenon occurs regardless of the theme and even if plugins other than Woocommerce are disabled.

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://example.com
    Site address (URL): https://example.com
    WC Version: 7.3.0
    REST API Version: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img> 7.3.0
    WC Blocks Version: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img> 9.1.5
    Action Scheduler Version: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img> 3.4.0
    Log Directory Writable: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 30 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.53.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.15-MariaDB-log
    Max Upload Size: 30 MB
    Default Timezone is UTC: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    fsockopen/cURL: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    SoapClient: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    DOMDocument: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    GZip: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Multibyte String: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Remote Post: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Remote Get: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    
    ### Database ###
    
    WC Database Version: 7.3.0
    WC Database Prefix: wp_
    Total Database Size: 66.88MB
    Database Data Size: 34.79MB
    Database Index Size: 32.09MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 1.52MB + Index: 0.28MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 6.52MB + Index: 6.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ahm_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_ahm_norm: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ahm_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ahm_unread: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 2.52MB + Index: 1.58MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.17MB + Index: 0.09MB + Engine InnoDB
    wp_postmeta: Data: 14.52MB + Index: 18.06MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.80MB + Engine InnoDB
    wp_structuring_markup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_users: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.14MB + Index: 0.08MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.48MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.31MB + Index: 0.25MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.30MB + Index: 0.23MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_ywpar_points_log: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 1
    acf-field-group: 1
    attachment: 95
    info: 17
    lws-wre-event: 3
    lws-wre-pool: 1
    lws-wre-unlockable: 1
    nav_menu_item: 5
    page: 10
    performance: 1
    post: 3
    product: 39
    product_lineup: 41
    product_variation: 24
    revision: 78
    shop_coupon: 3
    shop_order: 2748
    shop_order_refund: 1
    user_request: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Hide errors from visitors: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    
    ### Active Plugins (3) ###
    
    Business Day Calendar: by R3098 – 2.0.1
    Classic Editor: by WordPress コントリビューター – 1.6.2
    WooCommerce: by Automattic – 7.3.0
    
    ### Inactive Plugins (17) ###
    
    Advanced Custom Fields: by WP Engine – 6.0.7
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.3
    Comment Images Reloaded: by WP Puzzle – 2.2.1
    Contact Form 7: by Takayuki Miyoshi – 5.7.3
    Customer Reviews for WooCommerce: by CusRev – 5.17.0
    Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.7.1
    Really Simple CSV Importer + Columns Rename: by Takuro Hishikawa – 1.3
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.24
    
    WooCommerce Square: by WooCommerce – 3.4.2 (update to version 3.5.0 is available)
    YITH WooCommerce Points and Rewards: by YITH – 1.5.3
    zipaddr-jp: by Tatsuro
    Terunuma – 1.35
    
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: JPY (¥)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    ### WC Pages ###
    
    Shop base: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/274c.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/274c.svg"></img></img> Page ID is set
    but the page does not exist
    
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #3 - /privacy-policy/
    
    ### Theme ###
    
    Name: Storefront
    Version: 4.2.0
    Author URL: https://woocommerce.com/
    Child Theme: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/274c.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/274c.svg"></img></img> – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img> Next scheduled: 2023-01-31 12:31:30 +09:00
    Options: <img draggable="false" role="img" class="emoji" alt="<img draggable="false" role="img" class="emoji" alt="?" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img>" src="https://s.w.org/images/core/emoji/14.0.0/svg/2714.svg"></img></img>
    Notes: 110
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 35
    Oldest: 2023-01-29 14:25:58 +0900
    Newest: 2023-01-31 15:00:41 +0900
    
    Pending: 1
    Oldest: 2023-02-01 14:54:42 +0900
    Newest: 2023-02-01 14:54:42 +0900
    
    
    ### Status report information ###
    
    Generated at: 2023-01-31 15:14:34 +09:00
    `

    Hi @rqcmt

    Thanks for sharing the steps you followed on your site so that I could replicate it on my end:

    2.You will be transferred to the Order details page.
    Here, the contents of the variation are correctly displayed.
    Re-order from “Order again” on the page.

    However, I am not seeing the Order Again button under WooCommerce > Orders > Order # xxx as seen below:

    To better picture what you are referring to here, can you please share with us a clear screenshot of what you see on your end so that we could address you more effectively?

    If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.

    Thread Starter rqcmt

    (@rqcmt)

    Hi @xue28

    Thanks for the reply.
    Reordering is done by the customer itself from the account page.
    Also, the Order Again will not appear unless the order status is set to completed.
    I think this is a standard Woocommerce specification.
    https://snipboard.io/nIl4wr.jpg
    https://snipboard.io/1XuHiq.jpg

    However, I am not seeing the Order Again button under WooCommerce > Orders > Order # xxx as seen below:

    anastas10s

    (@anastas10s)

    Hi there @rqcmt

    Thank you for reaching back, clarifying things further.

    From what I gather, in the screenshot you are sharing with us here, the product options are not added to the product’s title, in the order screen, as expected.

    Just to note, while I was able to reproduce the issue on a test installation of mine, with only Japanese characters for the attribute name and values, the selected value was always added, and visible, to the product title.

    Screenshots showcasing this in the original order:
    https://snipboard.io/eyOsDx.jpg

    And in the re-order:
    https://snipboard.io/CRP9y1.jpg

    Could you kindly try with only Japanese characters, like in my testing, and let us know how it goes, please?

    Looking forward to your response, thank you.

    Thread Starter rqcmt

    (@rqcmt)

    Hi @anastas10s

    Thanks for the verification.
    The result was exactly the same even if both the attribute name and value were in Japanese.
    As you said, even if the attribute name is in Japanese, the product title will have the value of the variation.

    However, this problem is not in the title part.
    It is that the attribute name and value of the variation is exited only when the reorder is placed.
    I show you a screenshot of the dashboard at the beginning of the topic, and the same is true in the email notified when an order is placed.

    If the attribute name is in English, the attribute name and value are also output on reorder.
    https://snipboard.io/geZUyc.jpg

    If the attribute name is in Japanese, this is not output.
    https://snipboard.io/YBJziO.jpg

    anastas10s

    (@anastas10s)

    Hi @rqcmt

    Thank you for reaching back, clarifying things further.

    With regard to the issue of the selected variation option line missing, upon re-ordering, when 2-byte characters are used, I went ahead with posting an?issue over at GitHub (#36781), since it was possible to replicate it consistently.

    Feel free to subscribe there, so that you can stay updated with its progress.

    I hope that helps!

    Thread Starter rqcmt

    (@rqcmt)

    Hi @anastas10s

    I knew it was a reproducible problem with 2 bytes in general.
    Thanks for your contribution to GitHub.
    I will keep an eye on the progress since then.
    In the meantime, should I mark this topics as resolved?

    Amir A. (woo-hc)

    (@amiralifarooq)

    Hi @rqcmt

    Yes, you can mark this thread as resolve and?keep an eye on the GitHub issue progress.

    Cheers!

    Thread Starter rqcmt

    (@rqcmt)

    Understood.
    Thanks to everyone who answered!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problem with value of “Variable product” when reordering from order history’ is closed to new replies.