Adding a notice on Cart and checkout page based on item custom field highest value

后端 未结 2 1424
谎友^
谎友^ 2021-01-06 18:13

I have a a custom field value for each product. This custom field is inserted with the code below :



        
2条回答
  •  忘掉有多难
    2021-01-06 19:08

    Store the variable in the $_SESSION, then loop thru them and pick the highest, so you can use it later anywhere in your code

提交回复
热议问题