Two fisted question here:
1. Can products be imported into a price group's list of discounted products? I don't immediately find that capability
2. See below . . .
I'm in a situation in which it would be useful for me to add (or remove!) a product to a price group, specifically its list of Discounted Products, dynamically by checking it against a custom field.
There's a toolkit function pgroup-p that lets me save a variable for the price group IDs that a product is assigned to. I'd like to check that variable against a custom field, and if it tests false then add the product to the price group.
Something like this:
Create variable for product's price groups > Check custom field, is it one of the price groups? > If yes, do nothing > If no, add it to the Price Group X
Failing that, could the toolkit SMTP function instead initiate an email alert for something like "product in wrong price group"?
1. Can products be imported into a price group's list of discounted products? I don't immediately find that capability
2. See below . . .
I'm in a situation in which it would be useful for me to add (or remove!) a product to a price group, specifically its list of Discounted Products, dynamically by checking it against a custom field.
There's a toolkit function pgroup-p that lets me save a variable for the price group IDs that a product is assigned to. I'd like to check that variable against a custom field, and if it tests false then add the product to the price group.
Something like this:
Create variable for product's price groups > Check custom field, is it one of the price groups? > If yes, do nothing > If no, add it to the Price Group X
Failing that, could the toolkit SMTP function instead initiate an email alert for something like "product in wrong price group"?
Comment