Jump to content

tim8nime

Members
  • Posts

    6
  • Joined

  • Last visited

tim8nime's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi all, I'm building a custom module and I'm trying to link to my style sheet properly. I've tried hooking into the header and using: public function hookHeader($params) { Tools::addCSS(($this->_path).'ancustomer.css', 'all'); return $this->display(__FILE__, 'ancustomer-header.tpl'); } I'm going to look into how this works, but I thought I'd post to see if anyone knew. -Tim
  2. Hi all, I'm working on a module that hooks using "hookInvoice" into the orders page under the admin side. The problem I'm having is that its position is off. It's displaying above the "display order header". I'd like to correct its position without having to move code in "AdminOrders.php" at line 501. Any ideas? I was thinking CSS but i'm not sure if I could make that work well with the rest of the page. Here's a screen snippet of the issue: Thanks, -Tim
  3. I need to be able to send a query when "add to cart" is clicked. My end goal is to insert data into a custom table I created in the database. This is part of a larger goal: The ability to make payments over time. (i.e. the user wants to pay for the product at 3 payments of $29.99) I could think of some ways to hack this together, but I want some advice on the best (and safest) way to do this.
  4. Under the smarty section I have: Force compile is set to "yes", Cache is set to "yes". Under the caching section I have: Use Cache is set to "no". (disables the "caching system") [edit] NM, just go with Favre's solution.
  5. I'm using a slightly older version of Prestashop, but if you scroll down to the bottom of the preferences tab [under performance] there should be a "Caching" section. Try disabling the caching system.
  6. I had the same problem and I found that just changing values in the database (in the ps_configuration table) did the trick: id_configuration : name = value 178 : PS_SHOP_DOMAIN = localhost 179 : PS_SHOP_DOMAIN_SSL = localhost 216 : REVERSO_ADDRESS = localhost
×
×
  • Create New...