Skip to main content

Adding another pricing (fee) at checkout

11 years 8 months ago #194210 by oharris
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.37

On the checkout form, the user should have an option to select/add another fee (which would add to total). What is the best way to accomplish this?

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

11 years 8 months ago #194267 by Xavier
Hi,

The best way will be to create a custom order field. Then create a plugin based on the function "onAfterCartShippingLoad()".
And in this function, get the value of the custom field and add it to the cart, in the cart additionals.

Here is developer documentation:
www.hikashop.com/support/support/documen...r-documentation.html

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

11 years 8 months ago #194328 by oharris
Could your developers assist with this custom development? In the interest of time as the Conference registration is a week away.

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

11 years 8 months ago #194337 by Xavier
Hi,

What kind of fee it is ?
Fixed or the customer must be able to enter a value ?

The plugin proposed in this topic allow to add fees, so you can add a fixed fee to the cart.
www.hikashop.com/forum/5-support-en-fran...cipation.html#193551

If you want to let the customer have the choice to add or not the fee, it will require some editions.
But I think it is a good base to start to do what you need.

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

11 years 8 months ago #194480 by oharris
It is an additional fee for USD 150. So it is fixed. As in the demo site ( 2015conference.icac.org.jm/v2/index.php/register ), when the user clicks on a registration charge (Non-member for $610) , the amount is added to the cart, but during the process of filling in the form, the user should be able to select option of adding that other fee (for an additional workshop) and the fee of 150 added to the cart upon checkout or when they click "Next".

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

11 years 8 months ago #194515 by Xavier
Hi,

This will indeed require custom code as it is a specific feature which is not handled by default in HikaShop and by the existing plugins.

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

11 years 8 months ago #194593 by oharris
Could this be done by your team and how long would it take?

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

11 years 8 months ago #194611 by Xavier
Hi,

We recommend to post a request in the commercial jobs section for this kind of requests as we don't do this kind of customizations.

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

11 years 8 months ago #194624 by korzo

oharris wrote: It is an additional fee for USD 150. So it is fixed. As in the demo site ( 2015conference.icac.org.jm/v2/index.php/register ), when the user clicks on a registration charge (Non-member for $610) , the amount is added to the cart, but during the process of filling in the form, the user should be able to select option of adding that other fee (for an additional workshop) and the fee of 150 added to the cart upon checkout or when they click "Next".


Wouldn't be easier to create 2 products: $610 and $610+$150, add checkbox for workshop to price table and switch url of register button with javascript or css?

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

Time to create page: 0.081 seconds
Powered by Kunena Forum