Skip to content
Advertisement

Tag: cart

woocommerce_cart_calculate_fees load after woocommerce_before_cart_table

I have a problem trying to do some calculations with woocommerce_before_cart_table custom values and passing them to woocommerce_cart_calculate_fees. The problem is that woocommerce_before_cart_table is loading first and I am not able to pass that values from woocommerce_before_cart_table to woocommerce_cart_calculate_fees hook… How can I pass that calculation on woocommerce_cart_calculate_fees hook? Thanks Answer So If I understand you are making some test

How to update cart options in LaraveShoppingcart by Crinsane

I’m using laravel cart by Crinsane https://github.com/Crinsane/LaravelShoppingcart I wanna update options cart, I have many options inside, but I just want only one option to change, and I cannot do it Here’s my code and then I want to change options Here’s my code and then the result options only item_code, and others are disappear I want the others options

Advertisement