Store: In_Cart Conditionals
Developer
3rd Party (Free)

EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Extension
Tags
This extension adds certain "in_cart" conditionals within DevDemon Store Cart and Checkout tags.
Available variables
{store:entry_id_in_cart:XX}
{store:sku_in_cart:XX}
Usage
The {store:entry_id_in_cart:4} variable will evaluate to 1 (true) if any product with entry_id 4 is in the cart.
Depending on your configuration/setup, it may evaluate to a blank string if such an item is not in the cart, or the variable may not be replaced at all.
Similarly, {store:sku_in_cart:MY_SKU} will evaluate to 1 (true) if any product with a SKU of “MY_SKU” is in the cart.
Beta disclaimer
At the moment, this extension is somewhat wonky, in that it only provides variables for items that ARE in the cart. There is surely a more elegant solution, and I welcome all suggestions and feedback. Definitely don’t use this extension in mission-critical environments.
Store: In_Cart Conditionals Links
This entry was created August 28, 2012, 9:21 am.
This entry was last updated September 3, 2016, 4:38 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!