Category Archives: Modules

Free shipping just for certain products using xshippingpro

It is very easy to setup free shipping for the certain products using xshippingpro. Please do following for achieving this scenario:

  1. Create a new method and give it a name
  2. Now go to Category/Product tab. Select category rule is “Any of the selected products”. Now select applicable products.
  3. Now go to Price Setting Tab and select rate type is “Flat”. Now enter price is 0

That’s all. It is very easy, isn’t it?

To know more about Product/Category rule, check this article 

 

 

Unit Ranges in details in xshippingpro

For each method you can define multiple ranges e.g weight ranges or quantity ranges and a separate cost for that range.
For example, consider a shipping requirements where you need following:

1. For the first 3 items, cost is $5
2. For the remaining each item cost is $2

In this scenario, we need two unit range rows. Since it is related with quantity, so must
select rate type is “Quantity”. Then you will have to enter following unit ranges.

Start    End       Cost        Per Unit Block       Allow Partial
0            3            5               0                                       NO
4           9999       2             1                                        NO
Finally you will have to select final price to cumulative. why cumulative? Because you want to sum up two ranges cost together.

Q. So what will be shipping cost for 5 items from above scenario?

A. For first 3 item, $5 (According first unit range)
For remaining 2 item (2 x $2) $4 (According second unit range)
——————————————
Cumulative cost $9

So shipping cost will be $9
Q. What is Per Unit Block?

A. Per Unit Block simply means per unit. For example, in our above scenario, we want to charge
$2 per item after the first 3 items. So Per unit block is 1. Thats why we have entered Per unit block is 1
for second unit range (second row) for our described shipping scenario.
Q. What is Allow Partial?

A. Sometimes you might need to charge for the half block or half item. Sometimes you don’t want
to allow partila block. Moreover you want to charge for the full block cost in case of partial block. Consider following scenario:
1. if weight is less 3kg, cost will be $5 per kg
2. if weight is greater than 3kg, cost will be flat rate $10
In this scenario, we need two unit range rows. Since it is related with weight, so must
select rate type is “weight”. Then you will have to enter following unit ranges.

Start    End       Cost        Per Unit Block       Allow Partial
0            3            5               0                                       NO
4           9999       10             0                                        NO

Since we don’t need summed cost of each rows together in this scenario. So final cost will be single NOT cumulative.

So what will be cost of 3kg?   Total block 3, cost of each block $5 so cost is $15 (3*5) (according to first row)
So what will be cost of 4kg?   Flat rate $10 (according to second row)
So what will be cost of 2.5kg?   Total block 2.5, cost of each block $5 so cost is $15 (3*5, 2.5 rounds to 3 depending on Allow Partial) (according to first row).
But if you would set “Allow Partial” is Yes, cost would be $12.5 (2.5*5)

Product rules in details in all X-Modules

 

TLDR: Please check this quick summary before dive into the following detailed explanation.

There is a total of six product rules in xshippingpro. These are:

  1. Must have selected ones
  2. Must have selected ones with other
  3. Any of the selected ones
  4. Any of the selected ones with others
  5. Except for the selected ones
  6. Except for the selected ones with others

1. Must have selected ones

All defined items must be present in the shopping cart and, the shopping cart must not contain anything from non-defined items. For example, you have chosen items AB, and C for a method. So the shipping cart must contain all A, B, and C to have the method appeared. If the cart contains any item other than A, B, and C, the method will be unavailable. In short –

 Shopping cart items should be a complete/equal set of the defined items

2. Must have selected ones with others

All chosen items must be present in the shopping cart to have appeared the method during checking out. If any of the defined items (selected items) is absent in the shopping cart, the particular method will not have appeared during checkout. Other categories might have been in the shopping cart that does not matter. For example, let’s say you have defined items A, B, and C for a method. If a customer purchase all three items A, B, and C, the method will have appeared. The main requirement is that the shopping cart must contain all defined items regardless of the presence of non-chosen items. In short –

Defined items should be a sub-set of the shopping cart items

3. Any of the selected ones

At least one of the defined items should be present in the shopping cart and non-defined items should NOT be present. For example, you have defined items AB, and C for a method. To have appeared the method, the shopping cart must contain any one of A, B, and C, and the shopping cart must not contain items apart from A or B or C . The main requirement is the cart must contain any of the chosen items BUT it can not contain other non-defined items. In short –

 Shopping cart items should be a sub-set of the defined items and it should not contain other non-defined items

4. Any of the selected ones with others

It is exactly the same as the Any of the selected ones except the shopping cart contains other non-defined items. In most cases, this is the rule you are looking for.  In short –

Shopping cart items should be a sub-set of the defined items

5. Except the selected ones

All chosen items must not be present in the shopping cart. For example, you have defined items AB, and C for a method. The method will have appeared when the shopping cart contains items other than  A, B and, C. In short –

Shopping cart ones should not be a sub-set of the defined items

6. Except the selected ones but allowed with other

It is an interesting rule. It works the same as the Except the selected ones but, if the cart contains both non-defined items and defined items together, the method will be available.

For example, you have defined items AB, and C for a method. The method will not have appeared when the cart contains A or B or C. However, if the cart contains any non-defined item like D along with A/B/C, the method will be available. In short –

 Shopping cart items should be a sub-set of the defined items and any other non-defined items must be present.

Fee is not appearing in spite of correct setting in xfeepro

Cause 1 –  Ordering of xfeepro is not correct 

Xfeepro is an order total module.  Opencart calculate fee/cost of the order total module based on their ordering  defined in Admin ->Extensions -> Order Totals. Ordering number of the xfeepro should be in between Sub-Total and Total for appearing correctly.

xfeepro

Cause 2:  Custom checkout module

Xfeepro has been tested with quick checkout, one page checkout module. However, it might not work due to custom works or other checkout module.  This issue can not be solved without checking. It might be needed ftp or store admin login to resolve. Please contact at opencartmart@gmail.com for free support.

 

How to implement TNT courier in xshippingpro

TNT facts
TNT uses Volumetric Weight to calculate whether the shipping costs will be Real Weight or Volumetric Weight. It will be used the greater of the two.
Volumetric Weight = L (m) x H (m) x W (m) x CCF  Where  CCF is 250kg / m3
– Additional Fuel Surcharge (FSI). International charges are based on Crude fluctuations. Now is 13.25%.
How to implement via xshippingpro
  1. Create a new method and give it a name
  2. Go to Price setting Tab, Select rate type is Volume
  3. Enter Dimensional/volumetric Weight Factor is 0.00025 if your Length class is Centimeter. If your length class is Meter, then enter Dimensional/volumetric Weight Factor is 250.
  4. Now check the option 
  5. Now enter unit ranges as per your price requirement. For example:
    Start     End        Cost         Per Unit Block        Allow Partial
    0              10            20                   0                               NO
    10            20           25                   0                                NO
  6. For for adding Surcharge please enter  +13.25% into the field Modifier under Price adjustment section

 

How to charge $10 shipping for the first item and $5 for each additional using xshippingpro?

Well, now I am going to show how to setup xshippingpro which will charge $10 shipping for the first item and $5 for each additional item using xshippingpro. It is very easy to setup. Just follow following steps:

  1. Create a new method and give it a name
  2. Go to Price Setting tab
  3. Now select the Shipping By to Quantity
  4. Now enter unit ranges as follows:
    Start      End      Cost       Per Unit Block          Allow Partial
    0            1           10                   0                               No
    2           999        5                    1                                No
  5. Now select Final Price to Cumulative

How to offer free shipping just for a certain categories using xshippinpro?

There are two cases arise when you want to offer free shipping just for a certain categories. Will this free offer remain valid if customer add any third category with your applicable categories for free shipping? For example, You want to offer free shipping for the categories A, B, C but during checking out, customer also could choose product from category D, will customer will get free shipping in that case?
I will show both ways in this post.
Method 1  – When other third category is not allowed
————————————————————————
  1. Create a new method and give it a name
  2. Now go to Product/Category Tab, Select category rule is “Any of the selected Category“. Then choose your applicable categories for those you want to offer free shipping.
  3. Now go to Price Setting Tab and select the Shipping By to Flat. Enter Price 0
Method 2  –When other third category is allowed
————————————————————————
  1. Create a new method and give it a name
  2. Now go to Product/Category Tab, Select category rule is “Any of the selected Category with other“. Then choose your applicable categories for those you want to offer free shipping.
  3. Now go to Price Setting Tab and select the Shipping By to Flat Amount.  Enter Price 0
 Okay, thats all. Now a bonus. What if you want to offer free shipping after a certain order total or after a certain weight?  For example, you want to offer free shipping for just some categories after a certain order total e.g $200. Here are the steps:
Method 3  – Free shipping for just some categories after a certain order total
————————————————————————
  1. Create a new method and give it a name
  2.  Now go to Product/Category Tab, Select category rule is “Any of the selected Category with other“. Then choose your applicable categories for those you want to offer free shipping. Noted that if you don’t want to allow other categories, then you will have to select category rule “Any of the selected Category” instead of “Any of the selected Category with other
  3.  Now go to Price Setting Tab and select the Shipping By to Total.  Now enter unit ranges as follows
Start         End           Cost          Per Unit Block       Allow Partial
200            99999        0                         0                            0
Noted that I am considering total total is $200 after that you want to give free shipping.

Finally, last but not least thing. If you want to set a shipping price if order total is less $200 for the above case. For example, you want to charge $20 shipping free if order total is less than $200 and free above that.  You will have to change just unit ranges of  step 3.  New unit ranges will be:

Start         End           Cost          Per Unit Block       Allow Partial
0                 199            20                         0                            0
200            99999        0                            0                            0

Offer Free Shipping after a certain order total using xshippingpro

It is possible to achieve free shipping at a certain order total in two ways.  One approach requires one shipping method and another requires two shipping methods.  In this example, it will offer free shipping after an order total amount of $500
Approach 1  – using One shipping method
——————————————————
1. Create a new method and give it a name
2. Now go to Price Setting Tab and select the Shipping By to  SubTotal. Now enter the price ranges and their corresponding shipping cost as follows
Start         End           Cost          Per Unit Block       Allow Partial
0                500            $$**                   0                            0
501            99999        0                         0                            0
** here $$ denotes the shipping cost when the order total is under  $500
Approach 2  – using two shipping methods
——————————————————
Method 1:
1. Create a method and give it a name for example Flat Amount
2. Now go to Price Setting Tab and select the Shipping By to SubTotal. Now enter the price ranges and their corresponding shipping cost as follows:
Start         End           Cost          Per Unit Block       Allow Partial
0                500            $$**                   0                            0
** here $$ represents the shipping cost
Method 2:
1. Create another method and name it whatever you want
2. Now go to Price Setting Tab and select Shipping By to SubTotal. Now enter the price ranges and their corresponding shipping cost as follows:
Start         End           Cost          Per Unit Block       Allow Partial
501             99999         0                  0                            0