Skip to content

Review wc-square-admin-products.js logic #261

@kaushikasomaiya

Description

@kaushikasomaiya

While testing another issue on my localhost WP site, I noticed the wc-square-admin-products.js is buggy.

On a variable product, once sync is enabled and I reload the page, the script marks the sync checkbox unchecked because it checks for if ( isVariable() && ! $( 'input[id^="variable_sku"]' ).length ) { too early.

This is a bit intermittent too. On Firefox, I am able to replicate it almost everytime on my site as well as the merchant's site.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions