Jump to content

DidierF

Members
  • Posts

    5
  • Joined

  • Last visited

About DidierF

  • Birthday 01/29/1994

Profile Information

  • First Name
    Didier
  • Last Name
    Fuentes

DidierF's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. I would like to know where or when exactly (what class or file) is a product added to the cart_product table in Prestashop database. I would like to add a new field to the table but can't seem to find where it happens. Any help would be appreciated.
  2. Hello, I'm currently developing a store and I have some kind of lists with multiple products on them. The customer is supposed to choose from one of these lists to buy all the products in it. Sounds simple. When the customer chooses the list I get the products in it from the database, and add them one by one calling: ajaxCart.add(list[i]['id_product'], null, false, this, list[i]['quantity']); inside a for loop that runs through the list (I made a custom table to create the relation between the products and the lists). This method works most of the time but eventually I get one of this errors: Only one of the products get added to the cart. All products are added to the cart, but a different cart is created for every product in BO. That's not a big problem but it may get hard to work with a lot of carts in the same order (a list can contain as much as 20 products and a customer should be able to order more than one list in the same order). The third problem I have found is that all the products get added to the list but I get the following error on the screen: http://imgur.com/Di84kc2
  3. I just restarted the tutorial and copying everything from the start and it worked perfect. It looks like it was the route that was wrong somehow.
  4. As I stated in the update, I'm not sure what it is doing but it looks like it's not using any of the files but loading from somewhere else. Already tried deleting the cache from prestashop's folder and disabling it from the performance preferences.. Still doing the same thing. Not sure what APC is so can't tell if I'm running it.
  5. Right now I'm following a tutorial (http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module) to create a custom module for a site, and everything goes fine but when I added the css file it won't change anything. The module is not in the theme folder, not sure if that changes anything, but I think I tried putting it there and it didn't work. Also I tried adding a link to another tpl file and it didn't work either. How can I make my module read the other files? UPDATE: Changed something in the main tpl of the module and nothing happened, even uninstalled and reinstalled the module and it keeps doing the same thing as before, as if it was loading it from some kind of cache or something.
×
×
  • Create New...