Hi there!
I have discovered some strange problems with our url structure / friendly url.
Overall its working but in certain cases it is not.
Shop URL: https://cokocbd.com/
URL to product category: https://cokocbd.com/e-liquidos-28
URL to product: https://cokocbd.com/e-liquidos/super-skank-25
URL to product variant: https://cokocbd.com/e-liquidos/super-skank-25-107#/55-concentracion-300mg
1. Its not really a problem, i am just wondering:
The URL to a category has "-28" attached to it. If i only visit "/e-liquidos" its no longer working. Thats normal right?
2. URLs to product variants are not working at all.
In some cases like with the example given it links to a completely different product.
In most other cases it goes to 404 like with this product variant URL: https://cokocbd.com/aceites-cannabis/valeo-care-51-374#/79-concentracion-1500mg
As you can see, it is adding "-374" to the URL which causes it to no longer work.
3. When adding any product to the shopping cart, the link to the product is not working since its url is including the product variant and therefor it no longer works.
4. The Search Bar is not working because of that. If you search for any product, the suggestion box is using URLs to products that do not work. I guess it is because it is linking to product variants.
Is there a solution to this?
If not, is there a way to disable product variants showing up in the URL? That would fix it i guess.
Our route to products in Scheme URL is: {category:/}{rewrite}-{id}{-:id_product_attribute}
Thanks in advance! ❤️