Jump to content

Ranges are overlapping - Carrier


Recommended Posts

 
 
i have developed shipping module withe external api
 
What achieved.
 
1. Able to add carrier ( service) 
2. Able to apply tax (  it never worked through module carrier setting through code . i had to manually set tax by going to carrier)
 
What i could not achieve
 
1. Need_range =false to get work...because i wanted tobypass all range code so shipping calculation depends on external api than prestashop code.
2. Prestashop calling ship calcalulation 4 times for each carrier and slowing down. fortunately i hashed to cart important data in database and able to get speed up except first time. First time its calling 4 times per carrier...4 times calling curl...crap...i need to make it single call or call only when shipping carrier selection  page.
 
 
Meanwhile i faced 

Ranges are overlapping 

Not able to solve that because i was installing module and deleting to get right setting...anyway i just deleted all and ranges overlapping error message gone.
 
Deleteing following table remove all carrier history ..its only advisable to use when you setup store first time and testing stuff.
 
delete  from ps_range_weight;
delete  from ps_range_price;
delete  from ps_cart_rule_carrier;
delete  from ps_carrier;
delete  from ps_carrier_group;
delete  from ps_carrier_lang;
delete  from ps_carrier_shop;
delete  from ps_carrier_tax_rules_group_shop;
delete  from ps_carrier_zone;
delete  from ps_order_carrier;
delete  from ps_product_carrier;
 
My knowledge in prestashop only 1 week. I think prestashop is slow. But cart wise layout is perfect. import tab is perfect.
 
I have no cache applied. I want to see prestashop in worst condition and see all problems first then finally i enabe cache
 
Atpresent its dead slow on loading each page.
Edited by alexk345 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...