I'm trying to access either below: https://testing.com/cat/?page=5 or /cat/?page=5
via the bigcommerce object. However, after research I only found the below code:
{{ settings.request.absolute_path }}
This will only return me /cat/
but I'm missing of /cat/?page=5
So can anyone help me to how to achieve the above? any way I can access this?
I've below code written: (of course below wont work with absolute path)
{{#if settings.request.absolute_path '===' 'https://testing.com/cat/?page=5' }}
<meta name="description" content="The fifth page of cat products available." >
{{/if}}
pagination.category.current should work for you on category pages. It may be different on Brand pages.
I like the idea.