While working on a module, I was wondering... is it possible to search the order/shopping cart's contents for a specific term. Say for example, searching for models that start with GIFT-XXXX?
While working on a module, I was wondering... is it possible to search the order/shopping cart's contents for a specific term. Say for example, searching for models that start with GIFT-XXXX?
Are you trying to search an Order that has been completed or ... are you trying to search the Shopping Cart as it is being created?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
See if either of these two help you ...
Code:global $cart; echo 'Cart get_product_id_list: ' . $_SESSION['cart']->get_product_id_list();Code:echo 'Cart get_products: ' . print_r($_SESSION['cart']->get_products());
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks for the update on what worked for you ...
If you have some details on how you tested for the GIFT certificates specifically in your code, it might help others ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!