Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Distinct Url For Product Option Combination? Rate Topic   - - - - -

 
  • sitmgreg
  • Advanced Member
  • Members
  • Join Date: 01-Jun 16
  • 62 posts

Posted 29 October 2018 - 08:00 PM #1

It's possible to have a distinct SKU for particular option combination. Is it possible to reference the option combination in the URL?

 

My expected result would be some kind of a configurable string, so for example:

 

   https://example.com/...irt-size-L.html

 

 

Or failing that, something as a GET variable:

 

   https://example.com/...[4848]=2342&...

 

 

But in either case, requesting the URL would load the product with the appropriate options selected.



 
  • sitmgreg
  • Advanced Member
  • Members
  • Join Date: 01-Jun 16
  • 62 posts

Posted 29 October 2018 - 08:19 PM #2

ah ok. This is in fact possible. It appears if you add

 

   combination={option_id}_{variant_id} 

 

you can set product options in the URL

 

 

If anybody knows offhand where this is documented that would be interesting to see anyhow.



 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 294 posts

Posted 29 November 2018 - 08:05 PM #3

Hi;

 

Where do you find the option id/variant ID?

 

Can you give a more complete url string?

 

Jack



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19161 posts

Posted 30 November 2018 - 06:19 AM #4

if you familiar with the code inspector of your browser, both parameters can be found on the Editing option page

 

http://prntscr.com/lotck4

 

http://prntscr.com/lotd2y


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.