Looking for a < You have xxx Amount to free shipment > plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello

I havent seen / been able to locate any plugin that have these options

Basicly i i am after a plugin that  informs the costumer that he/she have xx amount left to spend to get free shipment, all ofcourse in a good nice way

Anyone have any good suggestion about one ?
6 years ago
There is none, as far as I have seen.

I had to sort out the same function for my site, and I did it by having a little javascript(JCurry) update the text field based on sum price of the products. The text field next to the price would be updated whenever the price text field was changed. Rly quick solution but works impecably, but you have to hardcode your free shipping amount in the js file.

Alternatively you can also do it in the .cshtml view (Totals.cshtml if I well remember, one in the Checkout directory in Views anyway), and just update it with the System value of free shipping :)

Conclusion: No plugins xD
6 years ago
There is none, as far as I have seen.

I had to sort out the same function for my site, and I did it by having a little javascript(JCurry) update the text field based on sum price of the products. The text field next to the price would be updated whenever the price text field was changed. Rly quick solution but works impecably, but you have to hardcode your free shipping amount in the js file.

Alternatively you can also do it in the .cshtml view (Totals.cshtml if I well remember, one in the Checkout directory in Views anyway), and just update it with the System value of free shipping :)

Conclusion: No plugins xD
6 years ago
Hello

Thanks for the reply ( did see it abit late :) )

Will then create one myself :)
Strange that no one have created aplugin for that feature when it (in my opinion is a must have on every site that have shipment cost in it )
Thanks for the tip on how to solve it:)
6 years ago
(Although creating a plugin, e.g. Widget, is probably best solution...)

You don't have to hard code the free shipping over X value in the .cshtml file; you can resolve it with some Razor code:

    var settingService = EngineContext.Current.Resolve<Nop.Services.Configuration.ISettingService>();
    var settingValue = settingService.GetSettingByKey<string>("shippingsettings.freeshippingoverxvalue");
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.