Global variables
-
Hi,
So, I tried to set a few functions but the sale price was being set before the custom fields I set. = different random sale discount.
Then I tried the other approach, trying global variables BUT the code seems not be executed in each products
(this 2 options were working in testing, not import)
Now my approach changed, in some fields I repeated the code and it’s working fine BUT, I still need to get the % of discount that were generated in another function. My question is, can I use a function to get 2 custom fields values, make the math and save it? How?
Since global variables don’t work in my case.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Global variables’ is closed to new replies.