wp-e-commerce / WP-e-Commerce

WP eCommerce - The most popular independent eCommerce platform for WordPress
https://wpecommerce.org
GNU General Public License v2.0
215 stars 216 forks source link

Bug: Grid default to 4 not set #2290

Closed lizkaraffa closed 7 years ago

lizkaraffa commented 7 years ago

When a store is first setup, layout is to default to grid with 4 products per row. However in the customizer, the dropdown is blank https://cloudup.com/cEDx_PUAa3a the first time you view it. The class wpsc-columns-4 is what styles the grid properly. However the class wpsc-columns-auto is appended on the products even though nothing in the codebase supports this anymore. Once a user sets the products per row the first time, everything gets fixed. We need the set defaults to work before there is any user interaction.

Code for this is on bug/customizer-grid-default branch.

JustinSainton commented 7 years ago

@lizkaraffa @misulicus Seems this has been resolved?

mihaijoldis commented 7 years ago

Yep