New answers tagged cartthrob
0
votes
Cartthrob show out of stock if product is purchased by current user
You didn't really outline the result of your code, but just reviewing it, I'm pretty sure it's the lack of quotes on your conditionals. This worked for me:
{if '{exp:cartthrob:is_purchased_item ...
0
votes
Cartthrob remove product from cart if purchased
You'll need to create an extension on the cartthrob_add_to_cart_start hook. This hook runs right before the process of adding an item to the cart so you can check if the member has purchased said ...
Top 50 recent answers are included
Related Tags
cartthrob × 572ecommerce × 33
ee2 × 32
shopping-cart × 30
expresso-store × 21
add-on × 20
checkout × 19
sagepay × 17
payment-gateway × 16
shipping × 16
members × 14
stripe × 13
error × 12
subscriptions × 12
matrix × 9
conditionals × 9
extension × 9
paypal × 9
discounts × 9
stash × 8
php × 8
email × 8
profile-edit × 8
upgrade × 7
notification × 7