TransWikia.com

Make dimensions common for all variants in Craft Commerce

Craft CMS Asked by Duško Šobić on September 4, 2021

When I enable multiple variants for product type that has Dimensions and Weight, fields "Dimensions and Weight" become available for every single variant. Product is tablet and all variants have a same dimensions and weight.

Is it possible to have common "Dimensions and Weight" fields for a single product, not for every variant?

Application info:

  • Craft Pro 3.4.27
  • Craft Commerce 3.1.11

One Answer

This is actually one of Commerce's best features IMO - that you CAN have separate dimensions/weights for variants - for us this is absolutely essential.

Of course, there are definitely times when it is not needed, too.

In these cases, we have a 'Standard Box' section that we store standardised entries in, with the appropriate data.

We then just relate these to the variant using a relations field.

Works really well...however, the behaviour is of course not the same as using the in-built fields - e.g. your shipping calculator needs to be aware of this etc.

Answered by Jeremy Daalder on September 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP