• Resolved phlagmatic

    (@phlagmatic)


    Hi,

    I change the weight of a product dynamically when in the cart. Your plugin do a new wf_product that reload the product without my change to the weight. This is bugging me alot. Is there a reason for you to reload the product in your function wf_per_item_shipping ?

Viewing 1 replies (of 1 total)
  • Hi Phlagmatic,

    wf_load_product() is used to make accessible some private property of the product object (like lenght, width, etc) inside our class. You can remove this function and access these private variable with corresponding functions (like get_length(), get_width()). It may resolve your problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Weight is missing’ is closed to new replies.