Skip to main content
Post Closed as "Needs more focus" by Scott Joudry, Mołot, kenorb, Krishna Mohan, Chapabu
added 485 characters in body
Source Link
Danz
  • 439
  • 6
  • 24

I'm using Drupal commerce and, Product attribute and Product Bundle. Each attribute (which is a product bundle) has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart?

Example:

Main - 10,000

Attribute 1.1 - 1,000 (selected) Attribute 1.2 - 2,500

Attribute 2.1 - 5,000 (selected) Attribute 2.2 - 8,000

What's currently showing for the main is: Main: 16,000 (because of Attribute 1.1 and Attribute 2.1)

But if I select the other attributes, the Main/parent price won't update anymore. How can I make this work?

Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules, ajax, or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using Drupal commerce and Product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules, ajax, or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using Drupal commerce, Product attribute and Product Bundle. Each attribute (which is a product bundle) has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart?

Example:

Main - 10,000

Attribute 1.1 - 1,000 (selected) Attribute 1.2 - 2,500

Attribute 2.1 - 5,000 (selected) Attribute 2.2 - 8,000

What's currently showing for the main is: Main: 16,000 (because of Attribute 1.1 and Attribute 2.1)

But if I select the other attributes, the Main/parent price won't update anymore. How can I make this work?

Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules, ajax, or a view, can you give me an example on how this will be done?

Thank you in advance.

added 8 characters in body
Source Link
Danz
  • 439
  • 6
  • 24

I'm using Drupal commerce and Product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules, ajax, or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using Drupal commerce and Product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using Drupal commerce and Product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules, ajax, or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using drupal commerceDrupal commerce and product attributeProduct attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing AttributeCommerce Pricing Attribute. The problem with my case is I don't use the commerce pricing attributeCommerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using drupal commerce and product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules or a view, can you give me an example on how this will be done?

Thank you in advance.

I'm using Drupal commerce and Product attribute. Each attribute has it's own price, After selecting an attribute on a dropdown list it does not update the price of the main product, it also doesn't show the price on the dropdown list. How do we show the price on the dropdown list and also update the parent product price before adding it to the cart? Just like the Commerce Pricing Attribute. The problem with my case is I don't use the Commerce pricing attribute because I don't use the commerce product option.

If it's hook form, rules or a view, can you give me an example on how this will be done?

Thank you in advance.

Source Link
Danz
  • 439
  • 6
  • 24
Loading