newbie_prestashop Posted January 23, 2015 Share Posted January 23, 2015 Hi, Problem while saving custom field which is add in cart rule condition . Created one field 'usertype' in ps_cart_rule table..also define in cartrule.php likepublic $usertype; 'usertype' => array('type' => self::TYPE_INT), in condition.tpl i have write, <select name="selecttype"> <option value="0"> Select Type </option> {foreach from=$resultstype item=type} <option value="{$type['id']}"> {$type['name']}</option> {/foreach} </select> where can i write code for save selecttype? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now