Skip to main content
  • X Twitter
  • youtube
Home
Drupal 4U
Built for AI. Powered by Drupal.
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact

Breadcrumb

  1. Home
  2. HowTos
  3. Drupal Commerce Shipping by Weight

Drupal Commerce Shipping by Weight

HowTos
May 20, 2014
Profile picture for user drupal
By drupal
  • facebook-f
  • twitter
  • envelope
  • print
55

- Download the modules Physical Fields and Commerce Physical Product

https://www.drupal.org/project/physical
https://www.drupal.org/project/commerce_physical

- Download the patch file #27 & #13. Use a program to patch the files. The module file gets changed, and commerce_physical.rules.inc gets created. Please find the patched files for Commerce Physical Product 7.x-1.x-dev 2015-Sep-19 enclosed

- Upload, overwrite and clear all caches.

- Now add a flat rate shipping service, give a name and save.

- Edit the component, and add a condition. You can now choose a weight condition (under a new section called 'commerce physical').

- To show this shipping option for weights under 5kg, just choose >, and then add 5 as a weight.

- To show this shipping option for weights between 5 and 10, first add a condition for '>5', then add an 'AND' condition, then add a final condition for ',10'.

Drupal Commerce Shipping by Weight
Configuration

Read more articles

Newer
How to import multiple files/images into one field with Drupal feeds tamper
Older
Meta tags not showing on Drupal front page
  • Log in to post comments
Profile picture for user drupal
drupal
55
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Us

Get in touch for questions and our Drupal development, design and optimization services.

Contact Us

We aim to reply the latest within 48h.

Drupal 4U: Built for AI. Powered by Drupal.

We are a group of Drupal designers, developers and webmasters. We are Drupal experts! We provide comprehensive services that go beyond traditional web development, focusing on how AI understands, interprets, and cites your content. With our deep expertise in Drupal's architecture, we build the intelligent core of your digital presence, ensuring your brand remains authoritative and visible in a world where AI is the primary gatekeeper of information. Partner with us and let's future-proof your digital strategy together.

  • X Twitter
  • youtube

Drupal Services

  • Drupal Web Design
  • Drupal Development
  • Drupal SEO
  • Drupal GEO
  • Drupal Migration

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

  • Official Drupal Website
  • Theme Forest
  • Gaivas Themes
  • More Than Themes
  • DXPR: Drupal for Marketers
  • Drupal Answers
2012 - 2025, Drupal 4U

Footer menu

  • Contact
Home
Drupal 4U
Built for AI. Powered by Drupal.
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element