Link store switcher ( GET ) in addtion to form

Created on 29 November 2021, over 3 years ago
Updated 28 March 2023, about 2 years ago

Problem/Motivation

It would be great to be able to link banners, adverts online etc direct to a specific page for a specific store rather than needing to use the form. This can be done with a GET request.

Proposed resolution

Create an EventSubscriber to catch a GET and change user store accordingly.

Remaining tasks

I have some code that does this and will aim to upload it soon.

API changes

Adds the ability to do /page-name?commerce_store_id=[$store->id()]

Data model changes

None.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇿New Zealand andyd328 Lyttelton, NZ 🇳🇿

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024