• Resolved gobgot

    (@gobgot)


    Hello,
    I got some problems regarding sync and stock, hopefully you can help.

    I′ve got a couple of variationproducts that has the label “Not synced” ( syncable) next to them. When I look in the logfiles after deactivating and reactivating the plugin I can see the following:

    [
       {
          "propertyName":"variants",
          "developerMessage":"One or more item in collection was not unique: [61643d69-0000-1000-8000-002ab7c4e4e4, 61643d67-0000-1000-8000-002ab7c4e4e4, 61643d68-0000-1000-8000-002ab7c4e4e4, 61643d69-0000-1000-8000-002ab7c4e4e4, 61643d6a-0000-1000-8000-002ab7c4e4e4]",
          "constraintType":"UNKNOWN",
          "value":"[VariantDTO(uuid=61643d69-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Lila], description=Optional[], sku=Optional[e5af4960-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Lila)], presentation=Optional.empty), VariantDTO(uuid=61643d67-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Rosa], description=Optional[], sku=Optional[e766e470-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Rosa)], presentation=Optional.empty), VariantDTO(uuid=61643d68-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - R\u00f6d], description=Optional[], sku=Optional[e8ce63b0-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=R\u00f6d)], presentation=Optional.empty), VariantDTO(uuid=61643d69-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Orange], description=Optional[], sku=Optional[eb960f30-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Orange)], presentation=Optional.empty), VariantDTO(uuid=61643d6a-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Gul], description=Optional[], sku=Optional[ecb4c5a0-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Gul)], presentation=Optional.empty)]"
       }
    ]

    So, there seems to be a duplicate of “61643d69-0000-1000-8000-002ab7c4e4e4” that i suspect is causing the issue. However, the SKU that is assigned to the variants in woocommerce does not match the UUID′s.

    I cant figure out where these UID′s come from. The url the the product in question is: https://my.zettle.com/products/45b1390e-3fae-11eb-9643-f92f288bc69c

    How can I the “Syncable” products sync?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @gobgot

    it is very hard to advise you on such an issue, since I do not see all the variables assigned to a product. I think that it might be easier to create a new version of this variable product in WooCommerce and sync it to Zettle. Once you have done that, you can delete the one that is not syncing to Zettle.

    There are many factors why a product would not synchronize to Zettle, so this solution might make it easier to start from scratch to avoid any issues that might have occurred on your existing variable product (unless that variable product has got too many variations, then it might be better to have a look at this document: https://zettle.inpsyde.com/docs/regular-encountered-issues))

    Let me know if any of this get is resolved or if you need more support. If you need more support I would like to get your system report and Zettle log files. You can copy the logfiles from here:
    – WooCommerce > Status > Get system report > Copy for support
    – WooCommerce > Status > Logs > select “zettle-pos-integration-\[…\]” in the dropdown and click on view.

    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://zettle.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)

    Kind regards,
    Joost

    Thread Starter gobgot

    (@gobgot)

    Hi Joost,

    Thank you for answering so quickly.

    I made a duplicate of the product and it did work. It synced too iZettle.
    I have created a ticket with the logs.

    Thanks!

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @gobgot

    I will mark this thread as resolved and finalize our discussion on the Service Desk.

    Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ZettleRestException: CONSTRAINT_VIOLATION’ is closed to new replies.