Jump to content

stevenjm

Members
  • Posts

    5
  • Joined

  • Last visited

stevenjm's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. my honest opinion is to get rid of smarty altogether. write better php and use template tags that we can embed in a main template file and include files for the other pages. much easier to work with and as long as prestashop remains based around smarty it remains too hard for most to theme effectively.
  2. Ok, I have just spent a couple of hours trying to add a new field in database and code for a datepicker so I can let my customers choose which day they would like there delivery. Its occured to me that its just getting way too complicated for what I am trying to acheive and was thinking a simpler way would be to add a field on the orders page with a javascript datepicker and then just somehow append that input onto the "leave a message regarding your delivery" field. Any advice on the simplest way to acheive this and which files? basically I just want to get the form field variables from the datepicker field and the message field and add them together so that both are displayed. ie. $message = $message + $delivery_date ( the date just appended onto the message) Any help much appreciated as I have noticed also that a lot of people have been after the same system. Thanks.
  3. the main drawback i experience with prestashop is its use of the smarty template engine. its obvious im not the only one as evidenced by the very small number of templates available. i find it much easier to use a system like using html include files for templates with php template tags embedded within them. am i the only one wishing for a different templating system for prestashop and is there any talk of future releases addressing this issue? There are so many functions like loops etc that are written in smarty language that your average web developer with php skills becomes daunted at having to master smarty language in order to do decent templates. Could the php code be written a little better so that so many smarty functions are not needed and even get rid of smarty altogether? thanks.
×
×
  • Create New...