I have a category, I want to check

if(sub_category > 20) {
    link <a>view all</a> category and it link redirect to new page show all sub category
} else {
    not show link view all

Any helps? Thank in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.