saeeddeeas Posted April 1 Share Posted April 1 Hello every one I want to edit customfields input in order page (cart.php?a=confproduct&i=) I find {if $customfields} <div class="sub-heading pb-1"> <span class="primary-bg-color">{$LANG.orderadditionalrequiredinfo}<br><i><small>{lang key='orderForm.requiredField'}</small></i></span> </div> <div class="field-container"> {foreach $customfields as $customfield} <div class="form-group"> <label for="customfield{$customfield.id}">{$customfield.name} {$customfield.required}</label> {$customfield.input} {if $customfield.description} <span class="field-help-text"> {$customfield.description} </span> {/if} </div> {/foreach} </div> {/if} now I can't find customfield.input file for edit input Please help me 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted April 1 Share Posted April 1 $customfield is not a file. It's an element from the $customfields array. 0 Quote Link to comment Share on other sites More sharing options...
saeeddeeas Posted April 2 Author Share Posted April 2 Tankyou so how i can edit input in $customfield.input 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted April 2 Share Posted April 2 9 hours ago, saeeddeeas said: Tankyou so how i can edit input in $customfield.input The input is based on the type selected until System Settings > Products/Services > [YOUR PRODUCT] > Custom Fields 0 Quote Link to comment Share on other sites More sharing options...
saeeddeeas Posted April 2 Author Share Posted April 2 3 hours ago, leemahoney3 said: The input is based on the type selected until System Settings > Products/Services > [YOUR PRODUCT] > Custom Fields Dear leemahoney3 i want edit input tag for exampel i add a class to input tag 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted April 3 Share Posted April 3 22 hours ago, saeeddeeas said: Dear leemahoney3 i want edit input tag for exampel i add a class to input tag I'm not sure you can, as the html for the inputs is hidden away in an encoded file... Perhaps there's a hook or some way to alter the variable in Smarty, I'd suggest asking your developer to check this out. 0 Quote Link to comment Share on other sites More sharing options...
saeeddeeas Posted April 7 Author Share Posted April 7 Please help me 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.