DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

wt_individualshippingcost

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2007-10-02T11:25:22
Classification:Individual Commerce Shipping Costs
Author:Alexander Kellner
Email:Alexander.Kellner@einpraegsam.net
Info 3:
Info 4:

wt_individualshippingcost

Extension Key: wt_individualshippingcost

Copyright 2005-2008, Alexander Kellner, <Alexander.Kellner@einpraegsam.net>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

wt_individualshippingcost 1

Introduction 2

What does it do? 2

Screenshots 3

How to use 4

New Markers 5

Typoscript 6

Changelog 7

Additional links 8

Introduction

What does it do?

  • If you're using tx_commerce and you need a possibility to get different shipping cost to different products and for different areas (e.g.: Germany, EU and WORLD), you can use this plugin
  • NEW: you can enter different delivery times per product to show them
  • Works with wt_commerce_import

Screenshots

img-1

Sample cart

img-2

Choose different shipping costs for a commerce product

img-3

Enter many different shipping methods

How to use

  • Install commerce (see tx_commerce manual)
  • Import this extension from online repository
  • Create new delivery articles within the product DELIVERY (e.g. if you want 2 different shipping methods XL and XXL you should create: XL standard, XL EU, XL world, XXL standard, XXL EU and XXL world)
  • Open your list mode and create new “delivery time” entries within the folder Products (e.g. 2-3 days, 1 week)
  • Choose any product and select your wanted delivery costs (if you don't set, the first delivery cost will be taken!)
  • Choose any product and select your wanted delivery time
  • If you want, you can change your home country and the EU countries with typoscript (see it below)
  • You can change your shopping cart HTML template (see sample in Extension folder DOC)

New Markers

You can use new markers in the commerce html templates:

::

Marker

###WT_SHIPPINGTIME###

File

pi1/category_product.tpl

Within subpart

###PRODUCT_VIEW_DETAIL###

Description

Shows content of DB table  tx_wtindividualshippingcost_sendtime (related to current product)

Example value

1 week

::

Marker

###INDIVIDUAL_DELIVERY_STANDARD_TEXT###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

Standard shipping text from locallang_db.xml (default Shipping standard)

Example value

Shipping standard

::

Marker

###INDIVIDUAL_DELIVERY_STANDARD_VALUE###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

Standard shipping value (related to current product)

Example value

4,50

::

Marker

###INDIVIDUAL_DELIVERY_EU_TEXT###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

EU shipping text from locallang_db.xml (default Shipping EU)

Example value

Shipping EU

::

Marker

###INDIVIDUAL_DELIVERY_EU_VALUE###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

EU shipping value (related to current product)

Example value

6,90

::

Marker

###INDIVIDUAL_DELIVERY_WORLD_TEXT###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

World shipping text from locallang_db.xml (default Shipping Worldwide)

Example value

Shipping Worldwide

::

Marker

###INDIVIDUAL_DELIVERY_WORLD_VALUE###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

World shipping value (related to current product)

Example value

12,90

::

Marker

###INDIVIDUAL_BASKET_GROSS_PRICE###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

Sum of basket with new delivery costs (replace old marker: ###BASKET_GROSS_PRICE###)

Example value

55,90

::

Marker

###INDIVIDUAL_BASKET_VALUE_ADDED_TAX###

File

pi2/shoppingcart.tpl

Within subpart

###BASKET###

Description

Overall tax with new delivery costs (replace old marker: ###BASKET_VALUE_ADDED_TAX###)

Example value

10,62

Typoscript

::

Property

standard

Data type

text

Description

Shops home country

Default

DEU

eu

Property

eu

Data type

text

Description

EU countries

Default

BEL,DNK,EST,FIN,FRA,GRC,IRL,ITA,LVA,LTU,LUX,MLT,NLD,AUT,POL,PRT,SWE,SVK,SVN,ESP,CZE,HUN,GBR,CYP,MCO

((generated))

((generated))
Example

Add this code to you TypoScript.

plugin.tx_commerce_pi3 {
   tx_wtindividualshipping.standard = DEU
   tx_wtindividualshipping.eu = BEL,DNK,EST,FIN,FRA,GRC,IRL,ITA,LVA,LTU,LUX,MLT,NLD,AUT,POL,PRT,SWE,SVK,SVN,ESP,CZE,HUN,GBR,CYP,MCO
}

Changelog

((generated))

First Release to TER on 11.09.2007 version 0.1.0
Update on 12.09.2007 version 0.1.1

Small bugfix

Update on 12.09.2007 version 0.2.0

Supports showing individual shipping times