Support

Account

Forum Replies Created

  • Many thanks for your answer. I was afraid there isn’t any easy way to do this. I’ll have to figure something out. Your idea hooking on acf/save_post is great. I’ll try to build it around this.

  • Yeah, I’m aware of this but never used it for other than “duplicating” posts. Do you have any idea whether it’s capable of duplicating values to existing posts?
    Perhaps to better describe what I’m after. The products are custom branded electronics. So say I have product A which at current time has various field groups such as:

    • price
    • discounts
    • technical specification

    Now, when the season comes, they want to change price / discounts field groups (Price for example is a repeater field with columns: Price, Name, Tax, Valid from, Valid to). When they do, they then want to copy these settings to all other products within category and to through each of them and just amend the Price (or discount).
    I’ve been thinking about doing global Price/discount settings but that won’t do as basically each product has some differences. The problem is that those differences are very small. So I can’t build a template and yet it’s tedious work to set it up for every product from scratch.

  • Thanks for the tip. This may be viable. The problem is that the list of required term IDs is dynamic. Basically User A has access to Term ID 1, 2 and 3 and User B has access to Term ID 2, 3 and 4.
    I can filter the taxonomy for user A that will show him IDs 1, 2, 3 and NOT 4. But as soon as I do this and User B select Term ID 4 and afterwards User A select Term ID 1, the reference to term ID 4 will disappear. I would probably need to first check which Term IDs are already associated with the field then remove all ids that user has access to and merge submitted data with trimmed data using acf-update_value filter as suggested. This seems bit overkill but I’ll probably have to go this route:)

Viewing 3 posts - 1 through 3 (of 3 total)