New Landing How can we help? Themeforest Theme Support Uplift Variable product title in shopping cart drop-down menu

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Uplift
  • #306933
    birdfamily
    Member
    Post count: 31

    Hi!

    After a bunch of updates, I noticed that variable products aren’t titled properly in the cart’s drop down menu (the one that appears, when you hover over the shopping cart icon).
    It used to be correct, but now the bag-product-title is displayed as “Variation #xxx of *product*” in all languages.
    In shopping cart page and check-out, the variable product is showing up correctly in all languages.
    Simple products are fine everywhere.

    I’m using WPML for translations.

    Please take a look at the attached screenshots.

    Thanks!
    Henri

    Attachments:
    You must be logged in to view attached files.
    #307147
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Henri,

    Can you please update the core theme: http://krutstravel.com/wp-admin/update-core.php

    #307716
    birdfamily
    Member
    Post count: 31

    Hi!

    I updated the theme to 1.3.20, but the title is still displayed as before.

    Thank you!

    #307813
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Is it possible to make an additional test and disable all plugins except SwiftFramework and Woocommerce so we can discard any plugin conflict?

    -Rui

    #309220
    birdfamily
    Member
    Post count: 31

    Hi!

    Seems that WPML String Translation is causing this once again.

    Thanks!
    Henri

    #309248
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.

    -Rui

    #310729
    birdfamily
    Member
    Post count: 31

    Hi!

    Got a fix from WPML support. Had to change wp-content/themes/uplift/swift-framework/core/sf-woocommerce.php

    Changed line no. 614 from:
    $product_title = $_product->get_title();
    TO
    $product_title = apply_filters( ‘woocommerce_cart_item_name’, $_product->get_title(), $cart_item, $cart_item_key );

    It seems to work on staging site, but I haven’t applied it to the live site yet.
    Might the issue reappear after future Swift Framework updates?

    Thank you.
    Henri

    #310740
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Thanks for the feedback. Will forward this to the development team to see what they have to say.

    -Rui

    #311003
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks @birdfamily – we’ve included this in the next update.

    – Ed

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register