What that will do is get the information from the cookie (supply cookie_name) and divide at every line break, then count how many individual pieces there are. Then it echoes the ammount of pieces. You might have to replace "<br>" with whatever you use to split the items in the cart/cookie. -- craze3
: 2023-04-25 17:03:47 |