Category Archives: Q&A

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]

Using of AND group mode in xfeepro

I do not know how to configure it.
What I need is below:
If shopping cart include any product in category A, a discount is based on percentage of  all  Category A products.
For example:
Category A include Product I of $10, product II of $5.
Category B include product III of $30
If shopping cart include
2 Product I (category A):   2*10
1 Product III (category B): 1*30
Then discount= percentage of 2*10
Could you explain to me how to setup this rule?
Thanks for contacting and using xfeepro.
Configuring conditional logic is bit complex. But this can be achieved by Group mode option. Group mode option can be found under general setting tab. Fee having same Sort order  value will consider as a group. Sort order field can be found under general tab of each method.
For conditional mode, you will have to choose Group mode is AND. Now if you create two methods and assign same sort order value, those two methods will act as a group and one method won’t be appeared unless other method become valid. Noted that in group mode AND, price will be calculated from first fee, remain fees will be used just for other condition validation.
Lets start configuration:
First, under General Setting tab, Select Group mode is AND
Since you need to calculate cost based on category A, so we will create that fee first and then will create the other fee that will be just used for validating category condition.
First fee for category A
———–
1. Create a new fee and enter a name
2.  Under General tab, enter sort order value is 1  [Or whatever but need to be entered same value into the the fee so grouping can work]
3. Under Product/Category Tab, select Category Rule is “Any of the selected categories with other”. Then choose your applicable categories for which you want to offer discount. In your case these are Category A
4. Under Price setting tab, Select Rate type is Flat and enter your discount percentile into fee cost. For example: 5%
5. Now in the same tab, Select “Percentage related to” is “Sub-total Fee specific” .   [Sub-total Fee specific ensure that xfeepro would consider the products of chosen categories only]
First fee for category B
———–
1. Create a new fee and enter a name
2.  Under General tab, enter sort order value is 1  [This must be same as previous one]
3. Under Product/Category Tab, select Category Rule is “Any of the selected categories with other”. Then choose your conditional categories In your case these are Category B
Keep other setting as their default. Since this will be used just for category conditioning thing.

How to use Integrate third party payment gatway using xpayment?

Scenario -1

You have a payment gateway, that needs to send some datas (like total amount, API key etc) to their server and payment gateway will do all necessary things on their server and return back to your store once processing is done with payment data.

How to implement?

  1. Since it needs to redirect to payment gateway with some datas. So first select Integration type is “Redirect/Forward to Payment URL”
  2. Now enter the payment gateway URL where it need to be redirected/forwarded.
  3. Now you will have to enter all data as JSON format into Data(s) section. You can use few placeholders like {orderTotal}, {currency} etc that xpayment will handle accordingly. Xpayment also has a special placeholder {returnURL} that basically a special URL so that you can return to store from payment gateway. Most of the payment gateway, it need to supply return URL into data section OR it can be set on payment gateway control panel. Return URL denotes basically http://YOUR_DOMAIN/index.php?route=extension/payment/xpayment/confirm
  4. Now select return method type that means how your payment gateway will reply back to store. It could be GET or POST or JOSN. Normally it can be found in payment gateway manual.
  5. Finally, you will have to enter a payment successful condition. That means after returning back from Payment gateway to your store, it can be successful or failure transaction. Normally, it can be found in payment gateway manual. Most of the cases, they send some data like success==true or something like that where success is variable name that will available in their response.
  6. Now xpayment will do remaining things what to do. Either it will reject or accept depending on the data.

Scenario -2

You have a payment gateway, that needs to call their provided API URL/endpoint from your store without leaving your store. it may need to provide some data while calling that API URL.

How to implement?

1. Since it needs to call API with some datas. So first select Integration type is “API Call”
2. Now enter the payment gateway API URL that need to be called.
3. Now you will have to enter all data as JSON format into Data(s) section.
4. Now select API response type. It could be GET or POST or JOSN.
5. Finally, you will have to enter a payment successful condition.

Actually it needs some developing knowledge to integrate payment gateway.

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

Shipping cost based on per Unit weight

Hi, Cloud you please help me to resolve a confusion?

My store use 0.1 kg as the unit weight, the unit price for each 0.1 kg is about $0.7.

For instance:
7.33 kg Shipping cost = 73.3*$0.7 = $51.31.

How can I combine this options?

Thanks.

Thanks for your question.  For achieving your goal, please do followings.

  1. Under Price setting tab, select Rate type is Weight
  2.  Now Enter Unit Ranges as follows

Start    End       Cost        Per Unit Block       Allow Partial
0            1000       0.7             0.1                                 NO

 

Problem with multiple shipping

I have different categories with different shipping price per unit.
For instance:
-books shipping cost 3.50€ per book
-bikes costs 9.90€ per bike
If someone buys 1 book + 1 bike he has to pay 3.50+9.90, if he buys 2 books + 1 bike he has to pay 3.50*2 + 9.90
In addition to that, I would like to have:
– with total < 150 € = apply rules above
– with total > 150€ = free shipping on everything

How can I combine those options?

Thank you for your help.
Thanks for your question. Since different categories have different shipping price, you need to create a shipping method for each category. For example, for the categories books and bines, you need total 3 shipping methods for achieving your goal.  First 2 methods for the categories and third one for the free shipping.
Finally, you want to sum up of different categories prices.  So first we will have to setup group mode option for summing up. Please go to Global Setting -> Group Option.  Now select Group1 is Sum 
Lets create the shipping methods now.
Method 1 (For Books):
  1.  Create a new method.
  2.  Under General Setting, Select Group is Group1
  3.  Under Category/Products Tab, Select Category Rule is “Any of the selected Categories with others”
  4. Now choose category Books
  5.  Under Price setting tab, Select Rate Type is “Quantity – Method Specific
  6.  Now enter Unit Ranges as follows

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

7. Under Other tab, enter Order Total Ranges 0 to 150

Method 2 (For bikes):

  1.  Create a new method.
  2.  Under General Setting, Select Group is Group1
  3.  Under Category/Products Tab, Select Category Rule is “Any of the selected Categories with others”
  4. Now choose category bikes
  5.  Under Price setting tab, Select Rate Type is “Quantity – Method Specific
  6.  Now enter Unit Ranges as follows

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

7. Under Other tab, enter Order Total Ranges 0 to 150

Method 3 (Free shipping):

  1.  Create a new method.
  2. Under Price setting tab, Select Rate Type is “Total
  3.  Now enter Unit Ranges as follows

 Start          End       Cost        Per Unit Block       Allow Partial
150        99999         0               1                                       NO