Skip to main content

Manual shipping method crashed

More
3 months 3 days ago #372316 by hkoopman
-- url of the page with the problem -- : www.vobovie.nl/index.php/hikashop-menu-f...ntrol-panel/checkout
-- HikaShop version -- : 6.5.0
-- Joomla version -- : 5.4.6
-- PHP version -- : 8.5.6
-- Browser(s) name and version -- : Google Chrome 149.0.7827.115
-- Error-message(debug-mod must be tuned on) -- : Sorry, er deed zich een probleem voor dat we niet konden herstellen.
De server heeft een "500 - Whoops, looks like something went wrong. " teruggestuurd

Help dit probleem op te lossen

I created a additional plugin called "Hikashop Manual Shipping Plugin (Subtotaal)". After instellation and activation the plugin the whole site crashed with the following message:
Sorry, er deed zich een probleem voor dat we niet konden herstellen.
De server heeft een "500 - Whoops, looks like something went wrong. " teruggestuurd

Help dit probleem op te lossen
Can you advise how to solve this.

Please Log in or Create an account to join the conversation.

More
3 months 3 days ago #372317 by nicolas
Hi,

Since the folder name of your plugin is "manual_subtotaal", then the line:
var $name = 'manual';
in it should be:
var $name = 'manual_subtotaal';
The system must crash because this doesn't match.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago - 3 months 2 days ago #372332 by hkoopman
Thanks for the quick reply.
I made the change and activated the plugin, but it still crashes
Last edit: 3 months 2 days ago by hkoopman.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago #372335 by nicolas
Hi,

Then, turn on the "debug system" setting of the Joomla configuration and try again. You should get an error message with more information on the problem. Feedback that back to the AI you used to create the plugin and it should be able to fix the code.

Otherwise, tell us what you want to do. I doubt that a custom manual shipping plugin is the ideal solution. Maybe it's just a setting issue.

Please Log in or Create an account to join the conversation.

More
3 months 1 day ago #372357 by hkoopman
We're using manual shipment and credits. If a customer has not enough credits he is allowed to change the credits in a coupon and pay the remaining part by bank. That works fine except for the shipping costs because that calulation uses total amount (to be paid by bank) for the calculation. In our case this should be the sub-total incl tax. How can we arrange that.

Please Log in or Create an account to join the conversation.

More
3 months 1 day ago #372358 by nicolas
Hi,

I'm not following you.

If you're using a coupon during the checkout, it normally don't take into account shipping costs.
That's why we added a "shipping percentage" setting so that the coupon can also reduced the shipping cost.
www.hikashop.com/support/documentation/i...p-discount-form.html

If you're using points to pay, there is also a "Shipping" setting in the user points payment method to allow for the points to reduce shipping costs or not.
www.hikashop.com/support/documentation/3...-payment-method.html

If you're saying that you don't want the shipping method cost to take into account the coupons, make sure the "include virtual products" setting is turned off in your shipping methods and that you have a weight set in your products. That way, coupon value will be ignored for the shipping costs.

Please Log in or Create an account to join the conversation.

More
3 months 23 hours ago #372369 by hkoopman
the "include virtual products" setting was turned on in our shipping methods. I turned it off in all our shipping methods and it seems now worrking as desired. We will know test it through and through and let you know what the outcome is.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.231 seconds
Powered by Kunena Forum