How to add recycling fee

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #133672

-- HikaShop version -- : Business: 2.2.2
-- Joomla version -- : 3.2
-- PHP version -- : 5.3

Is there any way/option to add Recycling Fees?
Electronic and Environmental Recycling Fees (EHF) in British Columbia and in Ontario? So far, these are the only two Canadian provinces who have made it mandatory to collect EHF fees at the point of sale. Any information on this subject would be greatly appreciated.

Last edit: 11 years 6 months ago by raviry.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #133694

Hi,
Can you give us more information about what you want to do through some screenshots for example ? Also, I think that adding this fee through the shipping price will probably do the job.

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

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #133695

For example visit this site www.2001audiovideo.com/

While you order a product and go to checkout page you will find a Recycle field and its different to every products.
I have attached an image.

Attachments:

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #133758

There is no option to do that. However, it's not impossible. You would have to create first a custom product field via the menu Display>views (Essential edition) to be able to enter the fee for each product. And then, you would have to create a hikashop plugin in order to add the fee to the cart by implementing the onAfterCartProductsLoad trigger and setting the $cart->additional attribute. That of course require a developer to do that for you if you're not a developer yourself.

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

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #133809

Hello Nicolas,

I am not sure how to do this. Is there any plan to add this feature in the next updates?

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #133932

Hi,

There is no such plan for next release of HikaShop.

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

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #134255

Hello Nicolas,

Paypal not show the Addition fields value. Please see the attached images.

I created the plugin and the value is stored in Addition filed like below. While checkout using Paypal its not calculating the OES Fees.

Array
(
[recyclefees] => stdClass Object
(
[name] => RECYCLE_FEES
[value] => 0
[price_currency_id] => x
[price_value] => 0.5
[price_value_with_tax] => 0.5
)

)

Attachments:

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #134359

Hi,

Yes, additionals are not taken into account by the paypal plugin when sending the details of the order to paypal as paypal has no such mechanism. You will have to turn off the "send order details" option of the paypal plugin if you want PayPal to get the correct total amount.

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

  • Posts: 19
  • Thank you received: 0
11 years 6 months ago #134382

Hello nicolas,

I edited the paypal plugin to calculate the Recycle fees. Its working fine.

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

Time to create page: 0.082 seconds
Powered by Kunena Forum