• Resolved soji89

    (@soji89)


    For some reason the custom fields for products are being duplicated everywhere. I am using the latest version of the plugin and tried all possible configuration changes to no avail.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Sark

    (@sarkware)

    1. What is the location of the fields.? is it in default location (before add to cart button).

    2. Which product it has been mapped to Simple Product or Product Variations.?

    3. If it is possible pls post the product fields groups admin’s full screen shot, so that I can come to an idea what cause this issue.

    Thread Starter soji89

    (@soji89)

    1. The location is the global default, above add to cart button.
    2. It has been mapped to all the products both simple and variable.
    But yes, I now noticed that this bug is existent only on variable products.

    Settings attached here: https://ibb.co/4tc9MY6

    Plugin Contributor Sark

    (@sarkware)

    @soji89 I need one more help, I couldn’t replicate the issue on my instance, could you pls post actual product url here so that I can test it.

    Thread Starter soji89

    (@soji89)

    Plugin Contributor Sark

    (@sarkware)

    Ok, I got the issue now, Its on the cart, checkout & order where the duplicate entries appearing.

    I have logic to prevent this kind of duplication when the fields are rendering but not when the fields are stored or displayed in cart & order (due to some limitation).

    You can simply avoid this issue by removing some unnecessary entry in Target Product(s) mapping.

    If you have mapping entrie like

    1. Productis equal toAll Products
    2. Product Variationsis equal toAll Products & All Variations

    Remove the second entry, that is not neccessary here.

    Just Productis equal toAll Products alone enough.

    I can simply use array_unique method to remove duplicate entries but that will introduxe some unexpected fields sorting issue (Fields sequence might be out of order).

    Let me know, because I am about to release the next update, if you still facing the issue after removing unncessary mapping then I will include the array_unique method.

    Thread Starter soji89

    (@soji89)

    I do not have any rules added to include all products. I only have a couple of rules to exclude some categories.
    Please find attached: https://ibb.co/PFdQK12

    Plugin Contributor Sark

    (@sarkware)

    Ok, thats an another scenario, which will match for both parent as well as child products.

    OK, I will include array_unique method to remove any duplicate fields, the update is coming today (along with few other fixes).

    Thread Starter soji89

    (@soji89)

    I tested the new release and it’s working well. Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Product fields duplicated in email, order meta and card’ is closed to new replies.