daffodil icon indicating copy to clipboard operation
daffodil copied to clipboard

[FEAT] Set Product Composite Config from URL Query Param

Open griest024 opened this issue 3 years ago • 1 comments

:bulb: Feature request

Feature Name

Set Composite Config from URL Query Param

The Desired Behavior

I want to be able to configure a composite product page via a query param in the URL

Your Use Case

As a user, I would like to be able to visit a URL like myapp.com/myproduct?composite_config=<base64 encoded config> As an app developer, I want to be able to configure the query param that holds this functionality.

Prior Work

The value of the query param should decode to an object of the form: {itemId: [optionId]}

griest024 avatar Feb 23 '22 16:02 griest024

@damienwebdev do you think we should add a selector for converting the current selection to a base64 selection? This would help apps show a "bookmark or share this collection with this link:" message.

griest024 avatar Feb 23 '22 21:02 griest024