WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
wp ecommerce product duplicate variation missing issue in front end (3 posts)

  1. sajoambattu
    Member
    Posted 1 year ago #

    Hi,

    I am installed wp eCommerce plugin for my website and created 3 product variations. when i am duplicating a product from admin panel, it showing as like original one except some product variation. For every duplicated products missing one product variation in the dropdown box at the front end.

    Please give a solution as soon as possible.

    Regards,
    Sajo.

    http://wordpress.org/plugins/wp-e-commerce/

  2. sajoambattu
    Member
    Posted 1 year ago #

    please check below links for more information:

    1) http://dartinfo.co.in/cir/reports/product-category/test-2/

    2) http://dartinfo.co.in/cir/reports/product-category/test-duplicate/

    The second link is the duplicated product of first one. If you gone through the first link you can identify that it having 3 variations in the dropdown where as in the duplicated product of first product ( second link ) having only 2 variations.

    That's the issue i am facing.

  3. KZeni
    Member
    Posted 11 months ago #

    Seems there's a bug in the duplication process where only one of the variants was being stored as a term relationship. I've found a fix to this and have submitted a pull request via their GitHub repository: https://github.com/wp-e-commerce/WP-e-Commerce/pull/644

    Here's a link to the (really simple!) patch: https://github.com/KZeni/WP-e-Commerce/commit/0ca11450b85858d791b18c8a2aa5e3ec9227a0a2

    Essentially, you just need to go into wpsc-admin/admin.php, find where it calls wpsc_duplicate_children() within the wpsc_duplicate_product_process() function, and move that to be before wpsc_duplicate_taxonomies() and wpsc_duplicate_product_meta(). Turns out the duplicate children process messes it up.

    That's it! The terms will be duplicated properly, and that means the variants should be shown.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic