Ready This is an app especially developed for Shopware 6
ACRIS Shipping calculation

ACRIS Shipping calculation

by ACRIS E-Commerce GmbH (1) Ratings 16 Downloads
Current version:

Version:

To use the wish list, you must accept the necessary cookies. Accept cookies
Can be used in:
Not available
This extension cannot be used in a Shopware Cloud shop.
Cloud
Self-hosted
Support
This manufacturer responds very quickly to support requests
Details
  • acris76074869522
  • ACRIS E-Commerce GmbH
  • 2.0.2
  • 1 Sep 2021
  • de_DE en_GB
  • 6.3.0.0 – 6.3.0.2
    6.3.1.0 – 6.3.1.1
    6.3.2.0 – 6.3.2.1
    6.3.3.0 – 6.3.3.1
    6.3.4.0 – 6.3.4.1
    6.3.5.4
    6.3.5.3
    6.3.5.2
    6.3.5.1
    6.3.5.0
    6.4.0.0
    6.4.1.0 – 6.4.1.2
    6.4.2.0 – 6.4.2.1
    6.4.3.0 – 6.4.3.1
    6.4.4.0 – 6.4.4.1
Use of the plugin The plugin adds the possibility to calculate shipping manually. To calculate... more

Product information

Highlights

  • Calculate shipping costs manually
  • Manually add shipping calculation on shipping type detail page
  • Determine LineItems yourself
  • Choose distribution channels yourself

Features

  • Manual shipping cost calculation
  • Possible for each shipping method
  • Indiviudelle calculation for individual shipping types

Description

Use of the plugin

The plugin adds the possibility to calculate shipping manually. To calculate shipping. costs you can use lineitems from the shopping cart as a price matrix.


Functionality

  • It is possible to add manually shipping calculation in shipping method detail page.
  • Default values added:
    • SalesChannel
    • LineItems (lineItem works only for foreach loop).
  • If there is no float value to return then it will be used next matrix price if exist or default price.


Manual calculation of shipping costs

In the area Settings -> Shop-> Shipping -> Create or edit shipping type.
Here it is possible via a price matrix, to calculate the shipping manually.


Shipping calculation field is based on twig template and twig functions should be called in operations with data.

In "lineItems" are all products from the cart. And there is added current "salesChannel" data.


You have lineItems form cart here and you can use them to calculate shipping.


Example #1: (set shipping costs to 10 without further rules)

{% set shipping = 10 %}

{{ shipping }}


Example #2: (if there is product with a customField, than increase shipping costs)

{​​% for lineItem in lineItems %}​​
{​​% if lineItem.payload.customFields.attribute== "1" %}​​
{​​% set shipping = shipping + 1 %}​​
{​​% endif %}​​
{​​% endif %}​​
{​​{​​ shipping }​​}​​


Example #3: (Shipping costs based on number of products inside categories)

{% set numberProductsInsideCategory1 = 0 %}
{% set numberProductsInsideCategory2 = 0 %}

{% for lineItem in lineItems %}
    {% if lineItem.payload.categoryIds %}
        {% for categoryId in lineItem.payload.categoryIds %}
            {# Is product inside category 1 - we check it by the UUID #}
            {% if categoryId == '21b199946c884aa294b409f135963880' %}
                {% set numberProductsInsideCategory1 = numberProductsInsideCategory1 + 1 %}
            {% endif %}

            {# Is product inside category 2 - we check it by the UUID? #}
            {% if categoryId == '0b5e8204e7034c2ca17a3899274874a4' %}
                {% set numberProductsInsideCategory2 = numberProductsInsideCategory2 + 1 %}
            {% endif %}
        {% endfor %}
    {% endif %}
{% endfor %}

{# Now we can do something with the variables numberProductsInsideCategory1 and numberProductsInsideCategory2 #}
{% if numberProductsInsideCategory1 > 0 and numberProductsInsideCategory2 > 0 %}
    19.90
{% elseif numberProductsInsideCategory1 > 0 %}
    14.90
{% elseif numberProductsInsideCategory2 > 0 %}
    12.90
{% else %}
    9.90
{% endif %}


Note: Only the UUIDs of the categories (unique ID in the database) are available in the shopping cart. You can easily read out and copy the UUID via the plugin https://store.shopware.com/en/acris28622190382f/acris-display-category-id.html.

Read, write and discuss reviews... more

Customer reviews

Average customer rating from 1 reviews:

Total
Functionality
Usability
Documentation
Support

Tut was es soll

31 May 2021

Top Plugin, Top Entwickler mit schnellem Support.
Hatte einige Probleme und Fragen zum Versand, die alle schnell und erfolgreich gelöst werden konnten.

Total
Functionality
Usability
Documentation
Support

Installation manual

 The installation of the plugin is very fast and straightforward.

  • Open the Plugin Manager via Settings > System > Plugins.
  • Upload, install and activate the plugin
  • No further configuration of the plugin required

Changelog

Version 2.0.2

Adds cart variable suggestion in the shipping calculation template.

Version 2.0.1

Added cart to the shipping calculation template.

Version 2.0.0

Improved compatibility with Shopware 6.4*.

Version 1.0.3

Added validation on shipping calculation.

Version 1.0.2

Optimize shipping calculation.

About the manufacturer

Shopware 6 Signet Shopware 6 ready ACRIS E-Commerce GmbH ACRIS E-Commerce GmbH Shopware Solution Partner Shopware Solution Partner 9 Certifications Developer SW5 1 Developer Advanced SW5 1 Template Designer SW5 0 Template Developer SW5 2 Developer SW6 1 Developer Advanced SW6 1 Template Designer SW6 2 Template Designer Advanced SW6 1 62 Extensions 5 Ø Rating
Current version:

Version:

To use the wish list, you must accept the necessary cookies. Accept cookies

Recently viewed

Shopware Logo
Your opinion matters to us!

Honest feedback is valuable and our basis for improvement. That's why we're asking you to take part in our latest survey on Shopware as a brand. It will probably take you less than 5 minutes.