Jump to content

AtosSV

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Simone
  • Last Name
    Vasta

AtosSV's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thnaks! Because I'm a newbie with prestashop (and PHP object oriented programming) can you explain me quickly how can I execute some query in that php file? I can create a public function in the ProductControllerCore class that executes some querys (like SELECT) and I already know how to assign the results to some variables but where I have to call the function that I created? And then I will be able to use that variables into the product.tpl without problems (using smarty)?
  2. Hi! I want to edit the appereance of my product page (the final one, where i can "add to cart" a product). In particular, I want to add a calendar in it and i want to execute some querys for printing the results in the page. Which files i need to override? I think i'm looking for a .tpl for the front part and a .php for executing the querys. And, in that .php, how can i execute some querys? I need to edit/add some javascript and css too. Very thanks.
×
×
  • Create New...