• Resolved Rogens

    (@rogens)


    Hello,

    I’ve copied working products probably the wrong way. It looked like everything was working but everytime I saved another product the original stopped adding one option to calculation or all copied products just used calculation of another product. I’ve tried several things but I have a feeling that I’m going to just mess everyting up.

    What is the best way to copy a GUI and calculations from one product to another so I can change just sizes (and number of them) and prices in matrix to make different prices for every product?
    Is it better to export it and import it and check “remove pid attributes” or duplicate the product with UNICPO in general setting or just duplicate it in wordpress.
    If I understand correctly I dont want my options to be synced (in general settings of an option)?
    Also should I use unique field slug for options and sub options in my case?

    I’ve read the manual but I am just really confused at this point so it’s probably best to ask here as someone could have the same problem ^^.

    Thank you for any insights.

    edit: I save everything to DB

    • This topic was modified 6 years, 4 months ago by Rogens.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author moomooagency

    (@moomooagency)

    Best way to copy product configuration is to duplicate entire product, as you do in WC, or copy over prod config in Uni CPO (export/import tab in general settings modal window in the builder.

    Probably, you break prev products because you overwrite existing options while trying re use them. Do you know what does the yellow exclamation sign in front of some settings mean?

    Thread Starter Rogens

    (@rogens)

    I thought it means that I have to save it additionaly with the green disket icon… which I do every time I change anything just to be safe.

    What about using unique slug names? From what i understand I had to use them in previous versions but it’s not needed anymore if I save to DB (and save it with green disket of course).
    Basically my question is how to avoid reusing options(so they’re not synced) and just copy them and make them unique.

    Plugin Author moomooagency

    (@moomooagency)

    No, no. Please, read this article: https://moomoo-agency.gitbooks.io/uni-cpo-4-documentation/data-structure.html Feel free to ask clarification questions if any.

    Thread Starter Rogens

    (@rogens)

    Ok, I think I got this. Took me some time to get it through my skull ^^.

    For anyone with same issue…
    I unsynced all options, renamed all option and suboption slugs so they have unique names and then I saved them to DB.

    Plugin Author moomooagency

    (@moomooagency)

    A small remark – suboptions’ slugs must be unique within their option ONLY.

    You may have these:
    Option A
    – Suboption A
    – Suboption B

    Option B
    – Suboption A
    – Suboption B

    But you cannot have this:
    Option A
    – Suboption A
    – Suboption A

    Thread Starter Rogens

    (@rogens)

    Thank you for clarification ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Copying products (PRO version)’ is closed to new replies.