Re: Is it possible to disable buying only in one category?
Quote:
Originally Posted by
Ajeh
If you already see that its master_categories_id is 59, you do not need to change anything but the code:
Code:
if (zen_get_products_category_id($product_id) == 58 || zen_get_products_category_id($product_id) == 59) {
as
59 is the master_categories_id for the Product, not
4 ...
It works perfectly!!!!
thanks Ajeh!!!!!
Re: Is it possible to disable buying only in one category?
You are most welcome ... glad that this is working ... :smile: