CubeCart Bot Posted February 5, 2018 Share Posted February 5, 2018 Name: All in one shipping Price: Free Category: Shipping Methods Homepage: https://www.cubecart.com/extensions/shipping-methods/-all-in-one-shipping Quote Link to comment Share on other sites More sharing options...
Garfieldus Posted August 30, 2018 Share Posted August 30, 2018 In the description of this extension it says... "Each shipping method can have an unlimited number of shipping rates (refer to Shipping Rate Examples below)." I'm unable to find the examples. Can anyone help with some documentation please? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 1, 2018 Share Posted September 1, 2018 Open the AIOS module control panel. Enable the criteria you want to determine shipping rates. There are more, less-often used criterias available if you click the "Show advanced settings" link. For this lesson, choose weight-based and subtotal-based. Save. Clink on the Add Shipping Zone tab. On this page, give a short name/description, such as 'Canada'. If this zone is based on a country, check the 'One or more countries' radio button. Choose the name(s) of the country(s) that apply to this country-based zone. Save. Click on the 'Canada' tab (or whatever you named this zone). You have the first five rows to define shipping prices for each combination of criteria. You see: Order Weight Limits and Subtotal Limits For the first row, enter: 0 1 0 49.99 respectively in each text entry box. For the second row, enter: 1.1 5 0 49.99 respectively in each text entry box. For the third row, enter: 0 1 50 99.99 respectively in each text entry box. For the fourth row, enter: 1.1 5 50 99.99 respectively in each text entry box. Now, determine how much you want to actually charge for shipping in each of these four cases. Up to 1Lb and less than $50 will have a Shipping Price of 5.00 Above 1Lb to 5Lb and less than $50 will have a Shipping Price of 7.00 Up to 1Lb and $50 to less than $100 will have a Shipping Price of 6.00 Above 1Lb to 5Lb and $50 to less than $100 will have a Shipping Price of 8.00 Now, determine what you want the customer to see as a description for each case. Badly worded choices could be: Small and Cheap Large and Cheap Small and Expensive Large and Expensive There is another row that you can use for heavier or more expensive orders. If you need more rows, click the 'Add new shipping rates' green-plus button. After using those, if you need more, click the button again. Eventually, click the "Save all changes" button. Hopefully, the customer's order will have a weight and subtotal that matches one or more of the criteria ranges established for a zone. To determine this, enable Debugging mode. With this enabled, there will be a preamble to the checkout page detailing what AIOS attempted to match against. Do not enter weight or currency symbols. The values entered are assumed to be what the store's default settings have for using these values. Quote Link to comment Share on other sites More sharing options...
baked potato Posted September 24, 2018 Share Posted September 24, 2018 I cannot add Austria to a Zone under Countries. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 24, 2018 Share Posted September 24, 2018 Please describe in better detail your issue. The All in One Shipping module does not have a field or a tab named "Countries". When you add a new Shipping Zone, the Zone name/description is free-form. You can enter anything into it. When you click the radio button labeled "One or more countries", there should appear a drop-down selector in a new section labeled "One or more countries", the selector named "Country/countries". Click once in that field to show the drop-down list. If "Austria" is not in the list, then visit admin, Countries/Zones, and verify Austria is enabled in the Status column. Quote Link to comment Share on other sites More sharing options...
baked potato Posted September 24, 2018 Share Posted September 24, 2018 Thanks, I didn't know there was a tab to add countries. Quote Link to comment Share on other sites More sharing options...
WSD Posted August 19, 2020 Share Posted August 19, 2020 Im getting the CSRF warning since i have updated to the lastest version of this extension every time i try to make a change to the shipping rates. How can i resolve it? Thanks Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 19, 2020 Share Posted August 19, 2020 A CSRF warning will happen if the collection of key/value pairs in the POST (what gets sent back to CubeCart when you click Save) exceed the number of pairs allowed by PHP - thus cutting off the final key/value pair that contains CubeCart's security key. This module is known for having an elaborate array of shipping rates that could easily exceed 1000 key/value pairs when only a few dozen rate tables are created amongst a few shipping zones. The solution to this is to configure PHP to accept more key/value pairs in POST. However, there are several ways to do this and depending how your environment is setup, only some of the methods will work. So, you may need to get your hosting provider involved. What you want is PHP's config key max_input_vars to have a value of 5000 (currently, defaults to 1000). This setting is available in PHP.INI, and can also be made in .user.ini, and/or .htaccess depending how PHP interacts with the server (CGI/FastCGI or Apache mod). If you have cPanel as your hosting account's control panel, there may be this: Quote # To make changes to .htaccess, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) Look for that panel. Quote Link to comment Share on other sites More sharing options...
WSD Posted August 20, 2020 Share Posted August 20, 2020 19 hours ago, bsmither said: A CSRF warning will happen if the collection of key/value pairs in the POST (what gets sent back to CubeCart when you click Save) exceed the number of pairs allowed by PHP - thus cutting off the final key/value pair that contains CubeCart's security key. This module is known for having an elaborate array of shipping rates that could easily exceed 1000 key/value pairs when only a few dozen rate tables are created amongst a few shipping zones. The solution to this is to configure PHP to accept more key/value pairs in POST. However, there are several ways to do this and depending how your environment is setup, only some of the methods will work. So, you may need to get your hosting provider involved. What you want is PHP's config key max_input_vars to have a value of 5000 (currently, defaults to 1000). This setting is available in PHP.INI, and can also be made in .user.ini, and/or .htaccess depending how PHP interacts with the server (CGI/FastCGI or Apache mod). If you have cPanel as your hosting account's control panel, there may be this: Look for that panel. Hi Bsmither My max_input_vars is already set to 8000 so increased it to 10000 and still the same problem. I have cleared all cache data and still getting the same issue Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 20, 2020 Share Posted August 20, 2020 In admin, Store Settings, Advanced tab, enable the Debug mode and enter your workstation's IP address in the adjacent field (www.showmyip.com). Then, in the AIOS module, Save some changes. On the next page shown, at the bottom will be a grey section showing debug info. There will be two iterations: when data was processed from the POST, and when new data was collected to be shown on the next screen. Find the POST: list in the first iteration of debug data. There could be a complicated array, but what you are looking for is a 'token' element at the bottom of the POST: list. If it is not there, we need to find out why. If it is there, then compare it with SESSION:, '__system', 'token_acp'. (Mine isn't changing after every POST for some reason.) Quote Link to comment Share on other sites More sharing options...
WSD Posted August 20, 2020 Share Posted August 20, 2020 1 hour ago, bsmither said: In admin, Store Settings, Advanced tab, enable the Debug mode and enter your workstation's IP address in the adjacent field (www.showmyip.com). Then, in the AIOS module, Save some changes. On the next page shown, at the bottom will be a grey section showing debug info. There will be two iterations: when data was processed from the POST, and when new data was collected to be shown on the next screen. Find the POST: list in the first iteration of debug data. There could be a complicated array, but what you are looking for is a 'token' element at the bottom of the POST: list. If it is not there, we need to find out why. If it is there, then compare it with SESSION:, '__system', 'token_acp'. (Mine isn't changing after every POST for some reason.) Is this what you are looking for? Not sure if this helps but have cleared the error logs as well then tried to make the changes and this is what is showing in the error logs Date Message Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 21:49 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 20, 2020 Share Posted August 20, 2020 The timezone error is a known situation that is best solved by having your hosting provider load the MySQL Server with timezone data into a certain system table. I am just seeing the GET part of a page request. If this is a screenshot immediately after attempting to save some data, that suggests that the version of CubeCart in use is earlier than CC629 which will not show the POST component. Please let us know the exact version of CubeCart you are running. Quote Link to comment Share on other sites More sharing options...
WSD Posted August 21, 2020 Share Posted August 21, 2020 (edited) I am currently running 6.2.9 version of cubecart. Would it be easier if i was to private message you with admin logins? so you could do the debug thing yourself as you know what it is you are looking for and im just guessing Edited August 21, 2020 by WSD Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 21, 2020 Share Posted August 21, 2020 If you wish, send me a PM with your email address. Quote Link to comment Share on other sites More sharing options...
WSD Posted August 24, 2020 Share Posted August 24, 2020 Does anybody have any ideas? I really need to get this working again asap. Bsmither has been great offering help and advice on trying to sort it out but we havent managed to fix it yet. Quote Link to comment Share on other sites More sharing options...
34Ford Posted September 15, 2020 Share Posted September 15, 2020 (edited) Is this AIOS different that the one by Estelles Winterflood that I am currently using? I have 1.0.8 Thanks Edited September 15, 2020 by 34Ford Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 15, 2020 Share Posted September 15, 2020 (edited) It has been updated over the years. Currently at 1.0.19. This was acquired by CubeCart from Estelle's CC3 module and rewritten to work with CC5/6. Her name is still in the credits. Edited September 15, 2020 by bsmither Quote Link to comment Share on other sites More sharing options...
34Ford Posted September 15, 2020 Share Posted September 15, 2020 Very good. Thank you for the help. Quote Link to comment Share on other sites More sharing options...
cubicsquare Posted October 9, 2021 Share Posted October 9, 2021 (edited) Hi there, please may l know what is in the latest update? AllInOneShipping-1.0.22.zip Date: 7th Oct 2021, 14:29 Edit: I found the changelog in the Documentation tab, question answered: "1.0.22 - Added default packaging weight" Edited October 9, 2021 by cubicsquare Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted October 12, 2021 Share Posted October 12, 2021 AllInOneShipping-1.0.22 is the latest version. I have found the update with the default packaging weight, needs some tweaking before being used. I assume that the default packaging weight is in kilogrammes, my default shipping mass. At the check out the packaging shipping weight is not shown in the total weight. ie a 1.0 kg packaging weight is not shown as an addition to the total weight. I await the next version before using default packaging weight. Quote Link to comment Share on other sites More sharing options...
cubicsquare Posted October 12, 2021 Share Posted October 12, 2021 15 hours ago, harrisorganic said: At the check out the packaging shipping weight is not shown in the total weight. ie a 1.0 kg packaging weight is not shown as an addition to the total weight. Hi there l'm guessing this is obvious but have you ticked the box above the default shipping weight? The one titled "Weight-based rates"? I am unable to test it myself right now. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted October 13, 2021 Share Posted October 13, 2021 Hi Cubicsquare, Yes I use a weight based AIOS so the box is ticked. For me the resultant weigh at the checkout did not increase. I did not check if the price versus weight changed, but did check the total weight at the checkout using the settings/layout tab. As I have the " FREE shipping" extension set for under 0.4 kg a 0.2kg package weight reset the shipping value to more than zero. (Even though the option for free shipping was in the drop down box) This needs to be sorted before I use it. All part of a new version. Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 13, 2021 Share Posted October 13, 2021 (edited) "At the check out the packaging shipping weight is not shown in the total weight." I can concur. In the AIOS shipping class file, the basket details are copied into the class's parameters so that the class can incorporate the total product weight, basket sub-total, and count the number of products (optionally not count digital items). What will need to happen is for the shipping module to change the basket details adding a calculated - likely a fixed - shipping carton weight to the basket's (total) 'weight'. What needs to be verified is, how reliable will be this new weight value. If the basket 'weight' is calculated for every page load, then the reliability should be high. But if ever the shipping class is called to recalculate shipping costs where the basket 'weight' already includes a previous shipping weight addition, then there is now two additions. Or, the shipping class can add a separate shipping weight detail to the basket. That would require a small edit to the checkout template, admin order summary page, and the database. Not needed anywhere else because the customer never sees how the shipping charges are calculated. And then there needs to be consideration given to how to deal with the possibility that there may be more than one shipping module enabled, each advising the basket of their respective shipping carton weights. Edited October 13, 2021 by bsmither Quote Link to comment Share on other sites More sharing options...
stabal Posted February 6, 2022 Share Posted February 6, 2022 Hi, i get this message in the basket after i put anything into it: "The following errors were detected: Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries." The plugin seems to be settled but i'm a newby into this so maybe not. What could that be and how to solve it? Thanks for every help or directions. Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 6, 2022 Share Posted February 6, 2022 The All in One Shipping module has a Debug setting. Choose to see a Very Verbose explanation. The debug analysis will show why there were no shipping rates found to satisfy the required conditions. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.