Category Archives: Xshippingpro

First level grouping vs Second level grouping in xshippingpro

In xshippingpro, there are two levels of grouping:

  1. Group of methods – First level grouping is based on Group Field  and
  2. Group of groups – second level grouping is based on Sort Order field.

Xshippingpro first calculate grouping based on Group field and finally it calculate grouping again based on Sort Order Fields.

Second level grouping need very seldom. Most of the cases, first/top level grouping is enough to achieve the scenario. However, it might be needed second level grouping in few cases.
Why do you need groupping basically? Sometimes we come up in a situation when we have to take decision what to do in a special case. For example, You want to charge shipping cost $5 if any item is chosen from category A and shipping cost $10 when any item is chosen from Category B. But what will happen when someone want to purchase from both category A and B? Well, you may want sum the shipping cost up Or want to proceed with highest Shipping cost.

You can then let xshippingpro know your decision through groupping mode. For doing so, you will have to navigiate to group mode option, then Choose Group1 is Sum or whatever you want. Now, You will have to assign this group to each of the applicable shipping method in the General tab. Under general tab of the method, you will find an option “Group”. This is field where you need to be assigned it. If you don’t need any group, you can just keep it as “None”.

This way, you can make up to 10 groupings amonst your shipping methods. One method can belong to only one group at a time.

Now let discuss Group of groups or second level grouping. For example, you have 5 top level groups like I discussed above. Now you have come up in a situation where you may need to sum up the cost of  the groups. This is very rare case but it may be needed. Thats why Group of Group is only one. To make grouping within groups, you first choose Group mode i.e either it is sum or highest etc.

Then you will have to choose shipping methods for this group. Unfortunately, there is no selection field for this kind of grouping like first level grouping. Xshippingpro consider value of the Sort Order field that is located under general tab to find out or calculate such grouping. Method having same Sort order value will be considered as a group. For example,  if you have chosen “Group of groups” is Sum. Now method-A and method-B has sort order value is 1. Now xshippignpro, will consider these two method as a group. So whenever both methods shall become activate simultaneously, xshippignpro will show one method instead of both depending on Group mode (sum, average etc).

Group of groups will even work if you don’t have first/Top level grouping. If you choose any Group mode of “Group of groups“, the it will be activate regardless of first level groups. It will just check methods which have same sort order values and will turn these into a group.

Shipping Cost per 100gm with additional $10

how to set following situation?

initial charge(Rate per parcel) $10
Plus rate per 100g or part thereof $1

So if customer buy an item of 300g
Total charge is $13 (1 x $10 + 3 x $1)

Thanks for your query. Please do following:

1. Under Price setting tab, Select Rate type is Weight.

I am assuming that your default weight unit is gram. If it is KG, then you will have to enter it accordingly. For example, 100 will be replaced with 0.1

Now enter following Unit Ranges:

Start . —- End . —- Cost —- per unit block —- Allow partial 
0 —- 999999 — 1 —– 100 – – — – – NO

Explanation:
——-
a. First define a big ranges 0 – 999999 so that it covers all weight
b. Per unit block ensure that it will charge $1 per 100 gram
c. Allow partial ensure that it will not charge partial block. SO it will charge $3 for 250 grams instead of $2.5

2. Under Price adjustment section, enter +10 into the field “Modifier” [+10 means it will add $10 with final cost]

Postal Rules in xshippingpro

Xshippingpro support following postal rules.
Rule 1:  Numeric Postal Range

Range should be defined by single hyphen (-). For example, 100-200 denotes postal codes 100 to 200. If you need multiple ranges, just separated these by comma(,). For example, 100-200,300-400.

Rule 2:  Prefix-Range  (Prefix hyphen range)

Prefix can be anything. Range should be like Rule 1 that means numeric postal range. Example: KW-10-15 denotes KW10,  KW11, KW12, KW13, KW14 and KW15

 Rule 3:  Prefix-Range-Suffix  (Prefix hyphen Range hyphen suffix)

Prefix and suffix can be anything. Range should be like Rule 1 that means numeric postal range. Example: KW-10-15-EE denotes KW10EE,  KW11EE, KW12EE, KW13EE, KW14EE and KW15EE

Rule 4: Postal codes separated by comma(,).  For example, 1000, AE1111 etc.

Finally, you can use wild cards in the prefix, suffix and single postal codes.

For example, PA2* denotes any postal code starting by PA2.

Again, KW-1-5-* denotes KW1XX, KW2XX, KW5XX and so on. Here XX means anything due to *

Several rules can be mixed together separated by comma. For example: 1200, AE-1-5-*,PA2*

Grouping in x-shipping Pro

In Xshippingpro, you can divide all shipping methods up to ten group. Why do you need grouping?  It can be used following cases:

  1. You can hide/filter out unwanted shipping method at certain scenario. For example, You have two shipping methods a. Free Shipping when order total is greater than $100 and b. Flat Shipping $20. So whenever a customer purchase products worth more than $100, it will show two shipping methods during checkout which are Free Shipping and Flat Shipping. Since it is bit awkward having free shipping and flat shipping at a same time. So you can hide Flat shipping whenever Free shipping activates. we can hide it using group feature.
  2. Merge or combine shipping cost of several shipping methods into one. For example, You want to charge $5 per product for category A and $7 per product for category B. So you have created two shipping methods. One for category A and another for Category B. Whenever customer purchase products from category A and Category B together, you want to sum up the cost. Group option can do that.
  3. Enrichment of rules –  You can link several methods into one. xshippingpro will check every rules of all the linked methods before showing it in the site. If any rules failed any of the linked methods, it will be not be appeared. For example, sometime you may want to charge shipping cost based on order total and Quantity. But xshippingpro does not support two rate type at the same method. So you can create two different methods, one method for order total and another method for quantity, then link these two methods into one using grouping option so that it validates both order total and quantity rules.

It support following group type or mode:

  1. Lowest   –  It will show the method which have lowest cost among the group methods
  2. Highest  –   It will show the method which have highest cost among the group methods
  3. Average –   It will average the cost of the group methods.
  4. Sum –   It will sum up the cost of the group methods.
  5. AND –  Special type. It has been used for rule enrichment that described in item 3 above.

For defining several method as a group, first you will have to navigate in Xshippingpro -> Global setting -> Group Option

Now select Group type from available ten groups.  You can also enter a group name. This group name will be appeared instead of Method name if group become activate during checkout. This group name can be combined with original method name and its price as well. For placing first method name, you will have to put #1, for the second method name #2 and so on. Also possible to put price like name by placing @1, @2 and so on.

Now you will have to assign your group number to the methods that you need to be linked together under general setting of each method.

Group creation is done!

Finally, it is also possible to make group from the Groups! This is called Group of groups. This group will determine based on Sort Order value defined on general tab of the each method. Shipping method having same sort order value will be placed into same group. Group of groups also can be Lowest, Highest, Average and Sum.

 

To know more details about top level grouping (Group of methods) and Second level grouping (Group of Groups), please check this

 

How to install xshippingpro in OC 2.x?

Although I am giving screenshot of xshippingpro but these steps applicable for any module. So any module can be installed by following these steps.

First, unzip downloaded zip file.

You will get another zip file named get xshippingpro.ocmod.zip

 

Now, please Go to Admin -> Extensions -> Extension Installer.

Then select “xshippingpro.ocmod.zip” and click on continue.

Now please navigate to admin -> Extensions -> Shipping. Now click on Install button located beside X-shipping pro row.

Finally, go to Admin -> Extensions -> Modifications and now click on “Refresh” button

Congrats! You are done. Now it is ready for adding shipping method. New shipping method can be added from admin -> Extensions -> Shipping

Free Shipping for a certain category and weight based shipping

I want to set up free shipping for all shoes delivered within the US. If an order contains shoes and something else, the entire order should ship free.
Otherwise, it should use shipping by weight or free shipping in us if the order is over $75.

Hi,

Thanks for contacting and purchasing xshippingpro.

After summarizing your requirements, I understood followings:

1. Shipping is free within US if order contains shoes and any other items.
2. If order total is less than $75, Shipping cost will be weight based
3. If order is total is greater than $75, Shipping is free

You did not tell about shipping outside of US. Anyway, for achieving above scenarios you need three shipping methods to be created.

Also since both item1 and item3 might be appeared at a time and both are free shipping methods, so it would not be good thing if two free shipping methods appears together. For fixing this issue, we will use group mode option. So please navigate to Xshippingpro -> Global Setting -> Group Option. Then Select Group1 is Highest.

Now lets create shipping methods

Shipping methods with shoes category:
1. Create a new method and provide a name
2. In General Setting tab, Select Group is Group1
3. In Product/Category tab, Select Category rule is “Any of the selected categories with others”. Then choose your Shoes categories.
4. In Price setting tab, Select Rate type is Flat. Now enter Price 0

Weight Based Shipping
1. Create another method and provide a name
2. In General Setting tab, Select Group is Group1
3. In Price setting tab, Select Rate type is Weight. Now enter Weight ranges (Unit Ranges) as your required. For example:

Start      End        Cost           Per Unit Block         Allow Partial
0               10           5                        0                                NO
10             20          10                      0                                NO

4. In Other tab, Enter Order Total Range 0 to 74

Total Based Shipping
1. Create another method and provide a name
2. In General Setting tab, Select Group is Group1
3. In Price setting tab, Select Rate type is Total. Now enter following unit ranges

Start           End           Cost Per Unit          Block Allow        Partial
75              9999999            0                               0                         NO
Thanks
Samir

Per Item based shipping cost

Let’s say I have product a called blue car.  On this one product and only this product.  I want the per item shipping to be $10.  So if let’s say you want to buy 5 blue cars, the shipping would be 5 x 10 = $50

Then all the other products.  I want it to be $2 per item. How do I do this?
Thanks for your question. We need to create two shipping methods, one for the product blue car and another for all other products. Since customer might purchase product from blue car and other products together, we have to sum up the costs of the both shipping methods in such case. For accomplishing that, we can use group mode option.
So navigate to Xshippingpro -> Global Setting -> Group Option. Now select Group1 is Sum

 

Okay, Lets create first shipping method:

 

Shipping Method for the product Blue Car
  1. Create a new method and give it a name
  2.  In General Setting tab, Select Group is Group1
  3. In Product/Category tab, Select Product Rule is Any of the selected Product with others. Then choose the product Blue Car.
  4. In Price setting tab, Select Rate type is Quantity – Method Specific . Then add following unit ranges

Start                End            Cost              Per Unit Block            Allow Partial
0                        999            10                          1                                NO

Shipping Method for all other Products

  1. Create another method and give it a name
  2.  In General Setting tab, Select Group is Group1
  3. In Product/Category tab, Select Product Rule is Except the products with others. Then choose the product Blue Car.
  4. In Price setting tab, Select Rate type is Quantity – Method Specific . Then add following unit ranges

Start                End            Cost              Per Unit Block            Allow Partial
0                        999             2                          1                                NO

 

Thanks

Few products are free and few products are paid

I have two products Prod A and Prod B.

Prod A is always FREE and shipping should not be calculated for it.

When I put both products in the cart, the shipping should only be applied to Prod B at different values. For example: Prod B cost €10 the shipping = €5. Prod B x 2 = €20 the shipping = €7. If Prod B x 2 has Prod A in the cart the shipping should still be €7.

Thanks for your question. You need two shipping methods. One for Free products (i.e Product A) and another for Paid products (i.e Product B). Also we don’t want to show Free shipping if Paid product in the cart. For that, we will have to use Group mode option. So lets first set Group  mode option

 In Global setting -> Group Option tab of xshippingpro,  Please select Group1 is Highest.
Now lets create Free method
Free Method
 
1. Create new method and provide a name
2. In general setting, select Group is Group1
3. In Products/Category tab, select product rule “Any of the selected products with others”. Choose your product A
4. In Price setting tab, select Rate type is Flat. Enter Price 0
Paid Method
 
1. Create another method and provide a name
2. In general setting, select Group is Group1
3. In Products/Category tab, select product rule “Any of the selected products with others”. Choose your product B
4. In Price setting tab, select Rate type is Quantity- Method Specific. Enter Following unit ranges
Start      End      Cost      Per Unit Block       Allow Partial
0            1            5                   0                         NO
1             2          7                   0                           NO
and so on…

Charge a flat rate per unit after a certain range

Question:
I have 5 weight ranges with a fixed rates and rest are just added according to the remaining balance of weight.
Example:-
0 kg – 1kg  = $10
1 kg – 2kg  = $25
2 kg – 3kg  = $34
3 kg – 4kg  = $41
4 kg – 5kg  = $50
There after every 1kg extra need to add $10 
 
—————-
Total ordered weight:  8.82kg
calculation:  
– first 5kg = $50
– add. 3.82kg (4kg x 10) = $40 
—————————————–
Total Cost = $90
—————————————————-
can you please help me with configuration and give me example of how to set the above in x-shipping pro plugin?
Thank you very much
warm regards
Answer:
Thanks for your question.  Please do following for achieving your scenario:
  1.  Create a new method if you did not yet.
  2.  In Price Setting tab, please select Rate Type is Weight
  3.  Now Enter Following Unit Range

Start       End         Cost            Per Unit Block      Allow Partial
0              1              10                      0                           NO
1              2               25                     0                            NO
2               3              34                      0                           NO
3               4               41                    0                            NO
4               5               50                   0                            NO

      4. Now enter Additional Unit Price  is 10
Thanks

Weight based shipping with free shipping option using xshipppingpro

Hi,
can you please help me with configuration of plugin?

I have weight type of shipping in 7 weight ranges and i need to implement also the free shipping when the total price of cart or order is more than 50 € and under 10kg?! Is something like this possible?

Thank you very much

Hi

Thanks for contacting.
For achieving your scenario, you need two shipping methods. One for weight based and another for Free shipping. Since we don’t want to show Weight based shipping if free shipping is available during checkout, so we need to use group mode for that.
So please go to Global setting -> Group Option in xshippingpro. Now Select Group1 is Lowest
Now lets make first method for weight based.
Weight Based Shipping
——————————
1. Create a new method and give it a name
2. Under General Tab, Select Group is Group1
3. Under Price Setting tab, Select Rate type is weight
4. Now Enter your unit ranges. For example:
Start       End          Cost          Per Unit Block      Allow Partial
0              10             $$                  0                          NO
10            20             $$                 0                           NO
and so on. Here $$ means shipping price for the respective ranges
Free Shipping
———————
1. Create another method and give it a name
2. Under General Tab, Select Group is Group1
3. Under Price Setting tab, Select Rate type is Total
4. Now Enter following unit ranges.
Start       End          Cost          Per Unit Block      Allow Partial
50        999999           0                  0                          NO
5. Under Other tab, Enter Weight range  0 to 10