Title: Default Value based on cart
Last modified: March 14, 2021

---

# Default Value based on cart

 *  [liamfmvt](https://wordpress.org/support/users/liamfmvt/)
 * (@liamfmvt)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/default-value-based-on-cart/)
 * I’m wondering if there is a way to change the default value of Product B based
   on the contents of the cart and/or price of the cart.
 * I have a product that comes in 2 variations, but you’d only pick the 2nd variation
   if you pick the same material for another product. I’m trying to get the default
   version of the product to match the product that is already in the cart.

Viewing 1 replies (of 1 total)

 *  Plugin Author [actpro](https://wordpress.org/support/users/actpro/)
 * (@actpro)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/default-value-based-on-cart/#post-14219374)
 * Hello [@liamfmvt](https://wordpress.org/support/users/liamfmvt/)
 * Thanks for the reaching out to us.
 * We will happy to help to you.
 * Can you give us your site URL on this email [wpactpro@gmail.com](https://wordpress.org/support/topic/default-value-based-on-cart/wpactpro@gmail.com?output_format=md)?
   So we can check it and back to you.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Default Value based on cart’ is closed to new replies.

 * ![](https://ps.w.org/extra-product-options-for-woocommerce/assets/icon-256x256.
   png?rev=2406195)
 * [Extra Product Options for WooCommerce](https://wordpress.org/plugins/extra-product-options-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/extra-product-options-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/extra-product-options-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/extra-product-options-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/extra-product-options-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/extra-product-options-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [actpro](https://wordpress.org/support/users/actpro/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/default-value-based-on-cart/#post-14219374)
 * Status: not resolved