Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Product Gallery: Row justification setting isn't being saved #11104

Closed
Tracked by #42335
danieldudzic opened this issue Oct 3, 2023 · 2 comments · Fixed by #11324
Closed
Tracked by #42335

Product Gallery: Row justification setting isn't being saved #11104

danieldudzic opened this issue Oct 3, 2023 · 2 comments · Fixed by #11324
Assignees
Labels
block: product gallery Issues related to the Product Gallery block. type: bug The issue/PR concerns a confirmed bug.

Comments

@danieldudzic
Copy link
Contributor

Describe the bug

When setting the Justification of the Product Gallery > Row block, saving and reloading the setting doesn't persist.

To reproduce

Steps to reproduce the behavior:

  1. With a block theme, open Appearance > Editor.
  2. Open Templates > Single Product.
  3. Select Convert to Blocks if you are using the Classic Templates.
  4. Add the Product Gallery block.
  5. Select the Row block and set the justification to Justify items center.
  6. Save and re-load. Notice the setting is back to default.

Screenshots

Single_Product_‹_Template_‹_Editor_‹_newproductgallery_—_WordPress
@danieldudzic danieldudzic added type: bug The issue/PR concerns a confirmed bug. block: product gallery Issues related to the Product Gallery block. labels Oct 3, 2023
@roykho
Copy link
Member

roykho commented Oct 16, 2023

Hi @danieldudzic - is the issue the setting won't save only or also the setting has no effect? Because in my test, not only does the setting not save, in editor, changing the setting also doesn't update the justification visually.

@roykho roykho self-assigned this Oct 16, 2023
@danieldudzic
Copy link
Contributor Author

The setting saves correctly and has an effect in the editor and on the frontend.

It's best to test by setting Product Gallery to Full width.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: product gallery Issues related to the Product Gallery block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants