New answers tagged

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 ...
Eric Lamb's user avatar
  • 1,232
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 ...
Eric Lamb's user avatar
  • 1,232

Top 50 recent answers are included