Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When buying tiles, customers buy a certain area (usually in m²). For easier orientation we want to show the user how much 1 package m² contains. The product has fixed width and length (59.5 x 59.5 cm), which are used to calculate the area . Since the plugin has its widget enabled, it is shown with the Add to cart button. In addition to the quantity, the plugin adds another field for the area (in this case 1 package = 0.35 m²). The customer can now easily orientate which area (and consequently which quantity) to order. If the field quantity changes, the field area is changed and vice versa. Also, the total price of the ordered products is automatically displayed (below the quantity and area field).

...

Example 2

This example is similar to the previous one, except that it calculates the volume in m3 (instead of area). The bag has a volume of 0.5 m3 with a price of 60.00€. The product also has tier prices which, in this example, set a price of 55.00€ with 10 bags or more. The customer can set, in the widget, the desirable volume and the plugin automatically sets the quantity and price. Plugin also respects the tier pricing and sets the price regarding the quantity. Also, note that the whole part for adding to the cart ('Add to Cart' button, quantity and volume size fields) is located on different position than in Example 1. It is also possible to configure in the plugin.

...

The plugin has the ability to display additional product dimensions in a special tab under the Dimensions tab on the product details screen. The following are the dimensions from the example 2 :

...

Mini-cart / cart

When the customer adds a product with dimension pricing enabled to the cart, the dimensions are displayed in the sidebar of the mini cart and in the normal cart.

...

Changing the quantity of products that don't have the Is custom dimension value entry property enabled, the volume/area size is updated.

...

Checkout

On the checkout screen the customer will have the information same as in cart but with calculated shipping / payment method fees. 

...

Shipping methods

Depending on the selected settings as well as the defined prices for shipping type, shipping unit and shipping type (here using the example of placement on pallets) and the defined prices for store, country and postal code from the customer's delivery address, the optimal product placement on the pallet is calculated and the price is displayed on each shipping method (for which data were entered).

...

Order

When a order is completed, the information will be showed on the order details screen as well in the confirmation e-mail that the customer receives.

...

  • Plugins > Dimension pricing – plugin settings and shipping part configuration

  • Catalog > Product dimensions – dimension templates configuration

  • Configuration > Regional Settings > Shipping rate computation methods - selecting active shipping rate computation method(s)

  • Catalog > Edit product > Dimensions tab - selecting template and entering concrete values for product

You will also have a new shipping method set active (Shipping by dimension and weight).

...

To add a new dimension, click the Add new dimension button which will open a popup:

...

Input field

Description

Label

The label which will be shown on the Dimension tab when editing a product.

Help (hint) text

Help text which will be shown on the Dimension tab when editing a product.

System name

System name used in the calculation formula.

Min value

Minimal value that the dimension can be on the Dimension tab when editing the product.

Max value

Maximal value that the dimension can be on the Dimension tab when editing the product.

Default value

Default value that the dimension can be on the Dimension tab when editing the product.

Display order

Display order of dimension on the Dimension tab while editing the product. Ordered by ascending. 

Display on product details on frontend?

Whether the dimension will be displayed on the frontend. If the checkbox is checked, the dimension will be displayed in a special tab on the frontend.

Info

A dimension template must be created before creating dimensions.

...

On this tab you can set the formula that is used to convert the unit quantity of a product into any metric. Checking the Is unit calculation widget used? checkbox will allow you to set the widget zone, dimension formula, dimension ratio, the number of decimals, whether the custom dimension value entry is enabled, the dimension custom label and the quantity custom label.

...

Input field

Description

Is unit calculation widget used?

Sets whether the Unit calculation widget is displayed on the product detail (and thus replaces the standard 'Add to cart' button with quantity field only).

Product details widget zone

Sets where the selected widget is displayed on the product detail page.

Is custom dimension value entry enabled

Allows the customer to manually enter custom dimensions. Used for 'cut-to-size' products.

Dimension formula

The formula used to convert the unit quantity of a product into any metric.

In the formula, you can address standard dimensions (width, height, or length) or dimensions you created in the Dimensions tab, addressing the system name of the dimension.

Dimension ratio

Number by which the value calculated with the dimension formula is divided.

Number of decimals

Number of decimals displayed on unit dimension control (the calculated value is rounded to that decimal number).

Dimension custom label

Custom label indicating what custom metric represents (This value is displayed on the dimension entry control).

Quantity custom label

Custom label indicating what quantity control represents (This value is displayed on the quantity entry control).

Unit calculation widget values for our examples

Input field

Example 1

Example 2

Example 3

Example 4

Is unit calculation widget used?

YES

YES

YES

NO

Product details widget zone





Is custom dimension value entry enabled

NO

NO

YES

NO

Dimension formula

width * height

capacity_width * capacity_height * capacity_length

width * height


Dimension ratio

10000

1000000

10000


Number of decimals

2

2

3


Dimension custom label

Area size

Volume in m3

Area size


Quantity custom label

Qty

Qty

Qty


Custom formulas for shipping

It is possible to place 2 irregular objects next to each other or to rotate them on a pallet. These two scenarios will leave a different footprint on a pallet creating two different prices. With custom formulas for shipping, it is possible to define the number of items used which will create a cuboid-like shape which will have a combined footprint. Opening Custom formulas for shipping you can view the already created custom formulas.

...

To add a new custom formula, click the Add new dimension template shipping formula which will open a popup :

...

Input field

Description

Number of shipping items used in calculation

How many items of the same product are combined together to save volume for shipping.

Combined width formula

Formula for the total width when combining several items.

Combined height formula

Formula for the total height when combining several items.

Combined length formula

Formula for the total length when combining several items.

Priority

Combining items are arranged ascending order in this field.

Info

A dimension template and dimensions need to be created before adding custom formulas for shipping

...

To add a new unit, click the Add new shipping type unit which will make a popup appear :

...

Input field

Description

Name

The name of the Shipping type unit.

Max width

Width restriction. 

Max length

Length restriction.

Max height

Height restriction.

Max weight

Weight restriction.

Unit fraction

The ration of the unit compared to the standard unit.

Info

A shipping type must be created before creating a shipping type unit.

...

On the plugin configuration screen navigate to the Shipping prices tab. To create a new shipping unit price, click the Add new shipping unit price button which will open a popup:

...

Input field

Description

Store

Store where the Shipping unit price will be used. (* for all stores)

Country

Country where the Shipping unit price will be used. (* for all countries)

Zip

Zip code.

Shipping method

The shipping method for which the Shipping unit price will be used

Shipping type and unit

List of all shipping types and units combined.

Price

Defines the price of the Shipping unit price.

Published

Whether the Shipping unit price published.

Info

Shipping price cannot be created without a shipping type and unit

...