here are the steps i have done: 1. i have created unpublished sub-category 2. added to it all items that are in "sale" 3. created a test code that works for all category except the one i have created 4. marked all categories to work with this code except the new category.
than entered to a regular category on the site that has mixed items (regular and on sale). https://www.screencast.com/t/wbKV8IKvGfxh
and new code applied to all items including the one that was on already on sale.
Because unpublished category not allowing apply discount.
So,it should be publish if you don't want to display in top menu than uncheck from category detail in admin side.
Hope you will understand..!!
I guess sk5202 is right. If you have a sand box test it there with the Discount category published . Another option is to set it as published and map it under (as a sub-category of)an unpublished category. I hope it works
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.