Hello there,
I have two questions relating to adding "branch conditions" (if, else) for the "product listing page" and "product page".
(1) If the product's category is "XXX", then the "product listing page" will be different, not showing product "price","name" , and "add to cart" and so on. (See the attached.) Can anyone tell me which file I should edit?
(2) If the product's category is "XXX", then the "product page" will be different,
not showing product "price","name" , and "add to cart" and so on. (See the attached.) Can anyone tell me which file I should edit?
I really do not know which file and which part should I insert a line " If (product_category_name=="XXX")...." ( However, I am not sure HOW TO SPECIFY or CALL the product's category, is it "product_category_id" or "product_category_name" or??)
I appreciate your help sincerely.