Home / Forums / WoodMart support forum / Set Default Variation Price & AJAX Cart on Shop Grid
Home › Forums › WoodMart support forum › Set Default Variation Price & AJAX Cart on Shop Grid
Set Default Variation Price & AJAX Cart on Shop Grid
- This topic has 1 reply, 2 voices, and was last updated 1 month, 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 21, 2026 at 7:16 am #729669
anisur.bfdParticipantHi Woodmart Support Team,
I need help customizing Variable Products to behave exactly like Simple Products on the Shop Page/Grids. I want to rely 100% on native theme settings or WooCommerce core logic to avoid future update bottlenecks.
1. Display ONLY the Default Variation Price (Shop Grid & Sticky Cart)
I want to completely hide the default WooCommerce price range (e.g., $10 – $50) globally.
The system should dynamically check the “Default Form Values” (e.g., 50ml) for that variable product and display ONLY the price of that default variation on the Shop Grid and Sticky Add to Cart.
Question: Is there a native Woodmart setting to display the Default price instead of the Lowest price? If not, what is the cleanest, future-proof code snippet to achieve this?
2. Native AJAX “Add to Cart” on Shop Grids (Bypass “Select Options”)
I want the button on the product grid to say “Add to Cart” instead of “Select Options”.
When a user clicks this “Add to Cart” button on the grid, I want it to instantly add the default variation to the cart via Woodmart’s native AJAX and slide out the side-cart.
Constraints: It should NOT redirect to the Single Product Page, and it should NOT open the Quick Shop popup (I want one-click behavior). Users should only select variations manually on the Single Product Page.
Can this be achieved using Woodmart’s native settings? If custom code in functions.php is strictly required, could you provide the most optimized, Woodmart-compatible snippet?
Thank you!
September 21, 2026 at 2:01 pm #729782Hello,
01. WoodMart currently does not have a native option to display only the price of the default variation on the Shop Grid and Sticky Add to Cart.
Under Theme Settings > Shop > Variable Products, there is a Hide “to” price option, but this only hides the higher price of variable products. It does not dynamically retrieve and display the price of the variation selected under Default Form Values.
02. Regarding the AJAX Add to Cart behavior, WoodMart provides the Quick Shop for variable products option under Theme Settings > Shop > Product archive.
However, the native Quick Shop functionality is designed to allow customers to select a variation from the shop page before adding it to the cart. It does not provide an option to automatically use the product’s default variation and add it directly with a single click while completely bypassing the Quick Shop/variation selection interface.
Therefore, the exact behavior you described — changing “Select Options” to “Add to Cart”, automatically adding the configured default variation via AJAX, without opening Quick Shop or redirecting to the single product page, and opening the side cart — is not available through WoodMart’s native settings. This would require custom WooCommerce custom code customization.
Best Regards
-
AuthorPosts
Tagged: Ajax cart, customization, Default Price, shop grid, variable product
- You must be logged in to create new topics. Login / Register