SEF URL For Product Variants - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SEF URL For Product Variants

Alejandro

Alejandro

EasyStore 6 days ago

Hello,

I know this is a possible feature that is on EasyStore's request list, and I need some insight on how to implement it without affecting the core of EasyStore.

Currently, a product with a variant is dynamically displayed in the URL through the parameter ?variant=[variant ID] for search engines and platforms such as Google Merchant or Meta Catalog. What would be the correct way to make a plugin that rewrites the path, for example, instead of:

mystore.com/shop-categories/coats/dapperdenim-t-shirt?variant=443

it would be:

mystore.com/shop-categories/coats/dapperdenim-t-shirt-size-l-color-taupe

Is it possible to develop this without affecting the EasyStore core?

Thank you

0
3 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 days ago #210213

Hi there,

Thank you for reaching out. I have checked your issue and captured an sreencast video. Please watch the video.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Alejandro
Alejandro
Accepted Answer
5 days ago #210280

Hello,

Thank you for your response.

I watched the video, but that's not the problem. In fact, EasyStore works perfectly for filtering.

My question, or rather my suggestion, is that I would like to be able to access a specific product and variant via a friendly URL. Do you understand what I mean?

Let's take the Allura template and this product as an example:

https://demo3.joomshaper.com/2023/allura/index.php/shop-categories/coats/dapperdenim-t-shirt

By default, the variant of that product is Size: S and Color: Taupe.

If I select Size: M, the URL changes to:

demo3.joomshaper.com/2023/allura/index.php/shop-categories/coats/dapperdenim-t-shirt?variant=440

My suggestion for EasyStore, or rather my requirement, is that if I have friendly URLs enabled, ?variant=440 should be removed and the URL should be:

demo3.joomshaper.com/2023/allura/index.php/shop-categories/coats/dapperdenim-t-shirt-size-m-color-taupe

The aim is to improve EasyStore's SEO and make it easier to integrate with Google Merchant or Meta Catalog.

Thank you

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 5 days ago #210295

Understood. I have forwarded your issue to our developer team, and they'll review it for possible improvement.

0