• Resolved dontwonnatellyou

    (@dontwonnatellyou)


    Hi,

    We just migrated from another CMS to wordpress.

    Our marketing channel needs the same id we used before for our old products, so we created an attribute in products and we imported the old product id in the new attribute in all the old products.

    In the new products we will not use that attribute (let’s call it p-id), so it seems like a perfect candidate for a rule, …right? ( if the attribute p-id is empty use product-id)

    When selecting fields, there are 2 p-ids (a dynamic and a custom…don’t really understand what is what)

    So i created 2 feeds, one using the dynamic p-id, and one using the custom p-id.
    The problem is that when if i use the dynamic p-id, the old products show as id the correct (old) id, but the new products don’t show any id.
    If i use the custom p-id, the new products get the correct new id (nice) , but the old products don’t get the old id (not nice).

    What am i missing?

    Here, are some info about me feeds and their results.
    Custom field mappings-1
    custom-field mappings-2
    custom-field-rule
    custom-field-new-product
    custom-field-old-product
    dynamic field mappings-1
    dynamic-field mappings-2
    dynamic-field-rule
    dynamic-field-new-product
    dynamic-field-old-product

    By the way, irrelevant with the above, noticed that if you copy a feed, then the copied feed does a lot more time to get ready ( could be coincidence, but happened twice).

    Best Regards
    Manos

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dontwonnatellyou

    (@dontwonnatellyou)

    hi, i thing i didn’t explain it well, or i overcomplicated it.

    Some products have a custom attribute (called previous-id), some products don’t have this attribute.

    If i make a feed with no rule, the feed is fine, everything seems correct (see right side feed). You can also see the mappings of feed at bottom right.

    Now, if i make a rule (you can see the rule at bottom left), that says “if custom attribute previous-id is empty, then show me the product id”, the results are not correct. (this is the left feed) .

    You can see that it behaves like the custom attribute is empty in all products.It replaces the custom attribute previous-id with product-id regardless if previous-id is empty or not.

    attached picture

    Thanks for the clarification on this, that really helped. It seems you were right and ran into a bug into the plugin. “Empty” rules on numeric values did not work properly. We have just pushed out a new release of our plugin that should solve the issue at hand.

    Can you update to version 7.7.4 and give it a try? Hope this helps.

    Thread Starter dontwonnatellyou

    (@dontwonnatellyou)

    Thanks, that was quick, as always.

    The matter is resolved.

    Cheers

    Perfect, thanks for letting us know

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dynamic vs Custom Attribute’ is closed to new replies.