Auto Add Item To Cart With Conditions
-
Hi, hopefully someone can help me ??
I am having an issues with a php function that I’ve added to my functions.php file. Here is a link to the pastebin script
Basically what is supposed to happen is that if a user adds let’s say $30 worth of items to their cart then a pre selected item by me is additionally added to their cart. The item is being added but you cannot see it till you refresh the page.
How do I make it so that either the item shows up as it should or at least make the page automatically refresh after it has been updated?
Any help would be greatly appreciated. Thank you!
Courtney
- The topic ‘Auto Add Item To Cart With Conditions’ is closed to new replies.