OpenCart set multiple weight based shipping methods - opencart

Is there a way to setup few custom shipping methods ?
For example:
Shipping A (specific countries): kg:price
1:29.90, 2:35.90, 3:49
Shipping B (specific countries): kg:price
1:35.80, 2:44, 3:51
Shipping C (specific countries): kg:price
1:39.90, 2:48.50, 3:54.90

Related

Router does not use truck weight parameters for calculations

Android here sdk premium version 3.18.5
Here sdk is not using weight parameter or I'm using it in a wrong way.
My base route settings:
routePlan.routeOptions.routeType = RouteOptions.Type.FASTEST
routePlan.routeOptions.transportMode = RouteOptions.TransportMode.TRUCK
I checked different combinations of truckLimitedWeight and truckWeightPerAxle parameters without luck. Router still returns routes through the road with a 5t or a 3.5 weight restriction. Is there any other setting that should be set to achive weight restrictions aware truck routing?

Modelling a market place using Google OR-Tools

I am trying to model a market with multiple goods, with multiple sellers and buyers offering a price for one or more goods. It is allowed for a seller who for example is selling 6 apples to sell 2 to a buyer offering the highest price and 4 to the buyer offering a slightly worse price. The market place also needs to support conditional offers, i.e. I want to sell 4 apples but only if I can buy 2 pears.
I have modelled this a few ways now using Google OR-Tools, but the closest way of solving it I can find is using CP-SAT, however it's not immediately obvious to me how to model the conditional offers.
What is the best way of modelling a market place like this?
You should have a look at:
https://github.com/google/or-tools/blob/stable/ortools/sat/doc/channeling.md
The main idea is that you can attach Boolean literals to some properties of variables.
Then you can use standard Boolean logic to link these literals together.

opencart product options within options

I am interested in creating different product options within options in Opencart. For example, I am selling art prints in various sizes and would like to add an additional option of framing, however the price of the frame must change according to the print size. So if a customer chooses a print of 11 in x 18 in, the framing price would display as less than if they opted for an 18 in x 24in. How can I do this in Opencart so the framing price will automatically adjust depending on print size?
I don't want to just say "Google it" but what you are looking for is an extension that implements "Dependent Options" of which there are several.
There are many in the extension store but a Google Search works better than the built-in search, so try these:
https://www.google.com/search?q=opencart+dependent+options
As always look for extensions from reputable OpenCart developers with loads of downloads, 5 star votes and positive comments.
Here is an example:
https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=13882
838 sales. 5 stars and "MarketInSG" are well known and good developers.
Go to products->edit(or) add product->option tab. Here you can add the sizes of the product. once you add one size you automatically get the price tab. You can decrease or increase the price of your product for that specific size there.

Bigcartel : Is it possible to make the price including taxes appearing?

Is it possible to make the price including taxes appearing and how to make it?
Thanks!
The tax calculation requires the customer's address, so unfortunately it's not possible to have that full price display (in an accurate way) outside of the Checkout area, without heavy code modification.
You may want to consider adding a note in your product descriptions that mentions where the tax is applicable and what the rate is - so your customers in that area have an idea before they are at the Checkout page.

No Shipping Options Available - OpenCart 1.5.6

I'm attempting to set up an OpenCart store for a client.
I'm getting the following error on the shipping page.
"Warning: No Shipping options are available. Please contact us for assistance!"
Research suggests that this error happens when there is a mismatch between the weight-class for the store and for the plugin, or something similar.
I've tried every combination of configuration settings that I can think of without result.
I'm not familiar enough with OpenCart to debug this issue. Where do I need to start looking?
Firstly you have to enable the shipping status and the values from admin panel shipping tab.After that you can get it in the front end.
My troubleshooting procedure:
The store weight UOM had been set to ounces.
The Fedex plugin doesn't support ounces as a weight UOM.
Nothing works.
The store weight UOM was changed to LBS.
Nothing works.
The package size was set to FedEx 10 KG Box
The Fedex plugin can't convert from Lbs to KG on the fly.
The package size was changed to "Fedex Box", without a weight class
Some products now working, all shipping estimates are WAY high.
When changing the default UOM for the store, no existing weights are converted in to the new units, although any weights stored without a unit are now read as being in the new unit.
This meant that the fedex system was trying to pull prices for items that "weighed" hundred of ounces (which it should have been able to do, even though those weights were incorrect.)
I updated the weights on all products to be in line with their unit of measure
At this point, the plugin was working for most, but not all, products, with reasonable accuracy.
I changed the plugin settings from List Rate to Account rate.
Now everything works.
To simplify - The fedex shipping plugin in opencart 1.5.6 will only work if:
All the products in the system have their weights stored in the same UOM.
That UOM is either pounds or kilograms (not ounces!)
A geozone is set, and a zip code is supplied(zip codes are important!)
The package size matches the unit of measure for the weight (no mixing kilograms and pounds!)
The product weights are actually correct
The account in question has a rate for a package of the indicated size
Hopefully someone else will find this helpful.
Ive been through this problem as well and I haven't yet fixed it completely.
But in my particular problem, I had a syntax error in the XML retrieved by the Fedex server after the cURL request.
Printing the $response variable I could find some good hints about some of the problems, for example, commas (,) instead of dots (.) to refer to decimal numbers and decimal numbers where it was expecting an integer.
So var_dump($response) could help some people find their specific issues.