Set Shipping in TTG CE2 Cart

TTG CE2 Cart supports several methods to calculate shipping on orders, detailed below.

Flat-rate Shipping

Within the settings.php file, a flat-rate shipping fee may be specified for all orders. To enable flat-rate shipping, set:

INCLUDE_FLAT_SHIPPING_RATE=yes

FLAT_SHIPPING-RATE=10.00

These values may be set from within Lightroom during configuration, or may be changed by editing the settings.php file with a text-editor. To display flat-rate shipping, set INCLUDE_FLAT_SHIPPING_RATE=no.

Set Shipping by Item

Optionally, variable shipping rates may be specified for items from within the price profile. Item shipping may be added to your price profiles as follows:

ItemShipping|3

… would add $3.00 shipping charges per item added to the cart. In a full profile, it would look like this:

ItemShipping|1.50
Size|base|4 x 6" print=10|5 x 7" print=15|8 x 10" print=25
Treatment|fixed|Real Colors|Black & White=5|Sepia-tone=5|Creative Color=7.50
Paper|percentage|Glossy|Matte=10|Natural fiber=20

In the profile above, a shipping fee of $1.50 is added to the order for each item in the cart.

Set Shipping by Option

Variable shipping rates may also be applied according to selected options. This profile specifies different shipping rates for each base option:

ItemShipping|3
Size|base|4 x 6" print=10/1|5 x 7" print=12/2|8 x 10" print=25/3|11 x 14" print=40/4|16 x 20" print=55/5
Paper Options|fixed|Glossy Finish|Lustre (Matte) Finish

Notice the new numbers added after the prices for each base item?

4 x 6″ print=10/1 means that a 4 x 6″ print costs $10, plus $1 shipping. This $1 shipping will override the default rate set on the first line (ItemShipping|3). Shipping specifications may be mixed and matched. Consider this example:

ItemShipping|3
Size|base|4 x 6" print=10|5 x 7" print=12|8 x 10" print=25|11 x 14" print=40/4|16 x 20" print=55/5
Paper Options|fixed|Glossy Finish|Lustre (Matte) Finish

The first three items will use the ItemShipping value of $3, while 11 x 14″ prints and 16 x 20″ prints ship at separate rates, $4 and $5 respectively.

As a final example, consider selling an image with No Frame and Framed options:

ItemShipping|3
Size|base|4 x 6" print=10|5 x 7" print=12|8 x 10" print=25
Frame|fixed|No Frame|Framed=15/6

In this example, an image without frame would incur a shipping fee of $3, while a framed image would incur a $6 shipping fee.

For more information on writing price profiles, see the article Manage Pricing.

Print/export