SEF URL For Product Variants - Question | JoomShaper

SEF URL For Product Variants

Alejandro

Alejandro

EasyStore 3 months 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
7 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 months 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
3 months 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 3 months ago #210295

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

0
Alejandro
Alejandro
Accepted Answer
4 weeks ago #216556

Hello!

Any news on this feature?

Best regards

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 weeks ago #216699

Please check the latest version.

0
Alejandro
Alejandro
Accepted Answer
4 weeks ago #216771

Hello,

That feature doesn't appear in the changelog for the latest version (EasyStore v1.7.5)

I just tested it in a store I am setting up, and it still appears as ?variant=[VARIANT_ID] in the URL

Or can you tell me how to set it up?

Thank you

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 weeks ago #216828

Ops my mistake. I thoght it was dynamic content of Page Builder. I will inform again our team. Thanks

0