• Hi,
    We just noticed that in our cart, when we try to add our Gift Wrapp, it-s showing the 9 most recent products instead of the GiftWrapping products under category “Embrulho”.
    These 9 products are not in the “Embrulho” category.

    I’ve disable the plugin for now, but we please see why is this happening?

    Thanks,
    CF

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Little Package

    (@littlepackage)

    Hello,

    Can you indicate which version of Gift Wrapper you are using? If using the latest (6.0) version, can you please re-save your Gift Wrapper settings, and clear caches?

    Thread Starter claudiof

    (@claudiof)

    Hi,
    The 1st thing we did was to update to the latest version, to 6.0. The issue remained.
    2nd we cleared all cache, browser and from wp rocket.
    We also tested it in incognito mode.

    Issue is still there

    Thanks

    Plugin Author Little Package

    (@littlepackage)

    Can you please confirm that you re-saved your Gift Wrapper settings? At: https://www.tartaruguita.pt/wp-admin/admin.php?page=wc-settings&tab=gift-wrapper

    Thread Starter claudiof

    (@claudiof)

    Yes, sorry. that’s one os the things we also did several times. We Even used that checkbox to “revert” to a previous UI version (5.0?)

    Thanks

    Plugin Author Little Package

    (@littlepackage)

    Thanks very much for confirming. Can you please look through this and provide the information we need in order to help you further: https://wordpress.org/support/topic/before-you-post-please-read/

    Thread Starter claudiof

    (@claudiof)

    Sorry for the delay.
    Follows the required details

    A link to your site so we can view issues, especially important for issues around appearance of your website. Screenshots are nice, being able to see/use your site is much better. -> I’ve re-enabled the plugin so it can be tested
    link -> https://www.tartaruguita.pt/
    Name of your WordPress theme -> Shoptimizer
    Your WordPress version -> 6.2
    Your WooCommerce version -> 7.7.0
    Your Gift Wrapper version -> Latest (6.0.0)
    Your PHP version -> 7.4.33

    Thank you for your support 🙂


    • This reply was modified 11 months, 2 weeks ago by claudiof.
    Plugin Author Little Package

    (@littlepackage)

    Thanks. Seeing the front end of the site only confirms the problem you stated, but unfortunately gives me no way of seeing where the problem originates, and doesn’t confirm for me that the plugin is set up correctly. If you aren’t using custom template overrides (which I’d assume you would mention if you were) then please don’t use the 5.0 setting.

    Can you please confirm, as asked in the link I provided earlier, that you have performed basic WP troubleshooting (e.g. testing for plugin conflicts). I don’t know how to reproduce this issue, and until I can reproduce it, it’ll be very difficult to fix.

    Plugin Author Sagehen Studio

    (@sagehen)

    Hi again,

    Did you sort this issue with Gift Wrapper out, or move on, or do you still need help? Please try out the newest version and let us know. Thank you!

    Thread Starter claudiof

    (@claudiof)

    Hi @sagehen and @littlepackage.
    Sorry for the delay, I was fixing some more urgent issues.
    I was going to try some changes in our staging environment but haven’t gone thru it. I’ve updated to the new version, but the issue remains.
    We can close this, And I«ll come back eventually to it.
    thanks for your support!

    Thread Starter claudiof

    (@claudiof)

    HI,
    Thansk you for your patience.
    I’ve been debuging the plugin, and I’ve tweek/change the filter criteria in functions.php (in your plugin) and the filter criteria is correct (I actually inforce the actual product ID), but I always got the same weird result back.

    I did notice the retuns results from “wc_get_products( $args );”

    // Returns objects by default
    $args = array(
    ‘status’ => ‘publish’,
    ‘stock_status’ => ‘instock’,
    ‘limit’ => ’10’,
    ‘orderby’ => ‘date’,
    ‘order’ => ‘DESC’,
    ‘include’ => array( 43005, 45567, 45565, 45558 ),
    );

    I get in each (wrong products) product the following:
    [“object_type”:protected]=> string(7) “product” [“post_type”:protected]=> string(7) “product” [“cache_group”:protected]=> string(8) “products” [“data”:protected]


    Could this be related to WP ricker somewhow?
    I’ve used WP rocket for years.


    Any help is welcome 🙂

    Thanks,
    Cláudio Freire

    Plugin Author Sagehen Studio

    (@sagehen)

    I’m sorry I’m really not sure! I’ve been maintaining this plugin for nearly ten years and this is the first time anyone has said something like this. Are you by any chance using the WPML plugin?

    Thread Starter claudiof

    (@claudiof)

    It’s pretty weird.
    I’ll get to the bottom of it and will update this thread.
    No, we don’t use WPML plugin…

    Plugin Author Sagehen Studio

    (@sagehen)

    Hi again @claudiof – Just checking to see if you’ve tried version 6.0.5, because I have a sneaking suspicion it *might* have solved this issue. Please let us know what you find. Thank you!

    Thread Starter claudiof

    (@claudiof)

    Hi @sagehen, sorry for the delay.
    No it hasn’t solved it.

    I’m looking at it again.

    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Showin Wrong product’ is closed to new replies.