Add fields to $_SESSION['cart']
Posted: Mon Sep 06, 2021 11:13 pm
Hi,
I am trying to create a text input pi module. Some of the products we sell allow or require text input.
I have created a text input box but am stumped on the next step, adding it to the cart session and then in to the customers_basket table.
Does anyone have experience of doing this? I would prefer to use hooks as opposed to hard coding.
Any help is much appreciated.
I am trying to create a text input pi module. Some of the products we sell allow or require text input.
I have created a text input box but am stumped on the next step, adding it to the cart session and then in to the customers_basket table.
Does anyone have experience of doing this? I would prefer to use hooks as opposed to hard coding.
Any help is much appreciated.