scottyzen / woonuxt

Static e-commerce powered by WooCommerce & Nuxt
https://woonuxt.com
GNU General Public License v3.0
574 stars 139 forks source link

Fix Product defaultAttributes for dropdown & checkboxes #183

Closed alexookah closed 2 weeks ago

alexookah commented 3 weeks ago

This PR addresses the issue where default attributes for Dropdowns and Checkboxes on the SingleProduct page were not being applied correctly after selection in WordPress.

Changes include:

GraphQL Query Update: Included defaultAttributes in the GraphQL query to fetch default attribute values. Vue Component Fix: Enhanced the logic for setting default values in Dropdowns and Checkboxes to ensure proper selection.

Feel free to review @scottyzen

netlify[bot] commented 3 weeks ago

Deploy request for sleepy-chandrasekhar-717c3d rejected.

Name Link
Latest commit 7f94f2bdf2ffdaddf201ef33c188178cb15c6e91
vercel[bot] commented 3 weeks ago

@alexookah is attempting to deploy a commit to the scottyzen's projects Team on Vercel.

A member of the Team first needs to authorize it.