Delete fields in orders summary

joaco

No avatar

2007-08-18 05:24

Hi people!

I want to delete some fields in order page, like company and zip code. I've edited orders_summary.tpl and those fields doesnt appear, but when i try to send, i get an error: Please fill in all required fields

Thanks!

pd: Sorry my english! xD

» Quick.Cart v2.x

merci

No avatar

2007-08-20 08:56

joaco - first of all, you should delete fields you don't want to have also from templates/orders_delivery.tpl. Then you have to make zip code not obligatory. Open file core/orders.php and delete from function checkOrderFields() line:

&& checkLength$aForm['sZipCode'], )

and in the same file above line

 dbSaveOrder$aForm );

paste code

$aForm['sZipCode'] = null;

Back to top
about us | contact