I found a good extension to have "next/previous" products in product page, (https://e-ticaretdersleri.com/opencart- ... t-addition) but it works with the product_id.
And follows the order of creation of the products without caring about categories and subcategories.
I'm not a php expert and I just need help to know how can I do to make it stay in the same category of the product that I look.
Perhaps it will be very complicated and I also thought to attribute a number to every article according to his category and subcategory (for example: A category -> 100 to 199, B category 200 to 299, etc... ) using , for example, the SKU field or another...
Example: if I'm looking the product #101, it's include between 100 and 199 then it is in the A category.
If I click "NEXT" I will see the following product, #102, etc...
Thank you for your help and sorry for my bad english.
I'm using opencart OC 126.96.36.199.
I think this is an option that Opencart would have by deffect.
Thanks for your help.
It's not a special development, it's something that a lot off people have in his website, opencart or not opencart.
If one removes a Product from an existing range, it's product-number will no
longer exist, and this will prevent this function from further work, if such a
product number would be linked NEXT or PREVIOUS on a given Product Page.
Just to have it mentioned.
PS: I've got a little website and I can't pay a development ...
I understand your Problem, but you always could learn, to 'handle' Modifications,
if you have no cash, to pay for Support. Just never forget, that this Sofware is not a
shareware Project, so better don't expect others, to share all their knowledge with
you, just for the fun of it, if you are unable to ever give something back in return.
I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'300 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
Users browsing this forum: No registered users and 23 guests