Skip to main content

Post categories

  • Drupal Tips & Tricks
  • Drupal Howtos
  • Drupal Themes
  • X Twitter
  • youtube
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • 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
50

- 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
50
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Drupal 4U

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

Contact Us

We aim to reply the latest within 48h.

About Drupal 4U

We are a group of Drupal designers, developers and webmasters and we launched this website to share our experience and knowledge with you. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization. Drupal is open source software maintained and developed by a very large community of developers and users.

  • X Twitter
  • youtube

Drupal Services

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

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

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

Footer menu

  • Contact
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element