Jump to content

dollarsound

Members
  • Posts

    8
  • Joined

  • Last visited

dollarsound's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, i've been looking for a module to accomplish the following: Whenever a customer make an order containing a product from manufacturer X is automatically getting a discount in amount/percentage for another product of the same manufacturer X. If it through a coupon code, it should be emailed automatically to the customer email set in her profile. I've been playing with awo but i think it doesn't do what i need. Anybody can help me with this? Thanks and regards.
  2. Buenas soy nuevo en ps y estoy empezando a programar, pero no encuentro ningún manual ni ninguna referencia de las funciones que más se utilizan. Por ejemplo: Tools:: Validate:: Mail:: Aunque muchas de ellas son bastante evidentes, no encuentro ningún lugar donde estén todas y por ejemplo los parámetros que necesitan, etc.. Alguien me puede decir si existe esta referencia en inglés o español? Ya sé que puedo leer directamente las clases, pero busco algo en plan más didáctico.
  3. Muy buenas a todos, soy nuevo en el foro. Por casualidad me he visto programando un pequeño módulo para PS sin apenas conocerlo y he llegado a este foro donde he encontrado respuestas. Soy totalmente novato y espero poder conseguir la ayuda que necesito aquí.
  4. Thanks Vekia, but what i want to achive is: Class testmoduleAllproductsModuleFrontController extends ModuleFrontController { public function init() { parent::init(); } public function helloworld(){ generate an output } public function buyworld(){ generate an action } } I would like to know if it's possible in presashop to call one of these public methods directly from an url. http://mysite.com/mycontroller/helloworld as you can do in ror or in codeigniter not from inside the class. I dont know if im explaining myself right.
  5. Im a newbie and i can't find the answer neither googling nor testing. My doubt is let's say im creating a module with this methods: Class testmoduleAllproductsModuleFrontController extends ModuleFrontController { public function init() { parent::init(); } public function helloworld(){ } } Can i call helloworld method of this class from a url? I mean like codeigniter you can call like /controller/action/params/, thad would be /module/testmodule/Allproducts/helloworld or like index.php?fc=module&module=testmodule&controller=AllProducts&action=helloworld? Or everything has to happen inside init()? Thanks
×
×
  • Create New...