View Single Post
Old 02-03-2021, 11:03 AM
bionuts bionuts is offline

Advanced Member
Join Date: Oct 2008
Location: At my desk, probably scratching my head over an X Cart problem....
Posts: 91

Default Re: Showing only certain categories in the sidebar / adding a second categories box

Hi Steve,

Thanks for your reply.

Yes, using the category_id isn't ideal, but I had experience doing it that way from a previous version of X-Cart.

I think I would prefer to use position, rather than trying to add new fields to the database and I could envisage that product type could be in one number range and application could be in a different range. That way, they'd always be separated, even if the positions were changed.

I've managed to work out the IF statement syntax I would need if i use category_id, but I can't seem to find the correct name / syntax to reference for category position. Any ideas?

Thanks in advance.
Currently transitioning to X-Cart 5.4.x.x. Oh the joy
Reply With Quote