Hello there,

I am experiencing strange behavior with this module. Let me list it:

1) Electronic Waste Recycling Fee is not correctly shown on cart (example.com/cart) - showing 0,00 , but it is shown correctly on cart block. See attached file.
2) Module causes cart page to render incorrectly - always showing ONLY last or first product added to cart. See attached file.
3) (but it might be problem with DPH module) - price of recycling waste fee shall not be taxed. See attached file.

Please take a look at this. In case of any questions or need more informations, do not hesitate to contact me.

Regards

Patrik Timura

CommentFileSizeAuthor
#5 uc_waste_3.PNG164.41 KBtimurek
#4 uc_waste_2.PNG267.84 KBtimurek
uc_waste.PNG166.81 KBtimurek

Comments

kecinzer’s picture

Status: Active » Needs work

I take a look to this.
But this is very strange.
Price of recycling fee have to be taxed by Czech laws :).

timurek’s picture

Oh I see, recycling fee has to be really taxed. Sorry for this one.
If you'll want, I may create an user account for you on my site for debugging. Just ask :)

kecinzer’s picture

Status: Needs work » Needs review

This bug was caused by weight of uc_dph module. For work together is needed to uc_dph called before. I discovered, that hook_install wan't called from uc_dph.module, so I created uc_dph.install and now it works.
I commited changes so wait for new generated version about 3pm Prague time and then let me now, that problem is gone.

timurek’s picture

StatusFileSize
new267.84 KB

I loaded new version of module, enabled it, cleared my cart, added two different products and nothing changed. Also I changed site theme to default to make sure it's not some theming problem. No change.

Maybe there is another step needed to take?

timurek’s picture

StatusFileSize
new164.41 KB

Additional clue: One part of the issue might be solved by switching off the DPH module. Take a look at attachment - there is still only one item in cart, but recycling fee is correct (if the recycling fee amount has to be sumarized on cart view).

timurek’s picture

Status: Needs review » Needs work
kecinzer’s picture

Did you tried what I wrote?
This bug is related to uc_dph module. Take a look at "system" table and try to find uc_dph module line. Is there weight set to "-3"? If not, set -3, and clear cache.
I tested this at home and work great.

timurek’s picture

Status: Needs work » Reviewed & tested by the community

Weight was at 0. Changed to -3, cleared cache, and voilá, all problems are gone now. Thank you very much for your work, time and effort.

kecinzer’s picture

Status: Reviewed & tested by the community » Fixed

I'm glad that it work for you.
In future installation this will work - I changed uc_dph (added .install file for set weight).

kecinzer’s picture

Status: Fixed » Closed (fixed)
timurek’s picture

Tested also on new installation - no problem at all.