Jump to content

evilnick

Members
  • Posts

    14
  • Joined

  • Last visited

evilnick's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I have created a module for ps1.3 but I want to port it over to ps1.4. However, I notice this new feature which allows us to change the position of each item instead of adding 01., 02., .... in the titles. But I am having difficulties finding the code to add this into my module. It seems that most of them make use of a id_parent. In my case I just want to sort its position without using the id_parent. Thanks. [sOLVED] -just add another column in module's table in DB
  2. Hi, I am having the same problem. Anyone else face the same problem? It seems that the confirmation.tpl in modules/paypal, is not showing up. Did you manage to fix this? Cheers!
  3. Hi mates, I also need some help on this. Is there any naming convention for className? Must the table name be equal to the class name? SOLVED: I just discovered the table name must be the same as the class name and the identifier must be id_tablename
  4. Is it possible to call php functions in .tpl files? I am trying to call this in cms.tpl: Tools::getValue('id_cms') But it just won't work. Or the only way is to assign a variable via the cms.php? Thanks
  5. Hey mates! As you know the blockcategories module lists all the categories in the left column. However, is it possible to just list the current category it is in as well as its sub-categories? Here's an example: In a category page (Home->Bags), it lists only (Bags->LV, Gucci, Kate Spade) instead of every single category I have. And when I click on a bag product, inside the product page (Bags->LV->Monogram Speeder), it should still list (Bags->LV, Gucci, Kate Spade) Really need some help on this. Thanks. Note: I managed to find this http://www.prestashop.com/forums/viewthread/48033/development/solved_categories, but however when going into product pages, the other categories still shows up.
  6. Thanks! Reported the bug at http://www.prestashop.com/bug_tracker/view/5177/
  7. UPDATE: I think I discovered a bug here. It seems that the product class doesn't have this attribute "$product->id_default_category", it should be "$product->id_category_default".
  8. Thanks for your reply rocky. But after doing the above mentioned changes, I got a message in the frontend which says "Hack attempt". Any ideas how to go about fixing this?
  9. Hi mates, I notice from this thread: http://www.prestashop.com/forums/viewthread/35755/P15/general_discussion/solved_breadcrumb_in_header_not_working "if you put a product in multiple categories and click on the product from each of these categories, it will display the category you came from in the breadcrumb. It is only if you go to the product directly without going through the category list that it uses the default category." I have a Bags category which will list all the products. Under this Bags category, there are a few sub categories, "Gucci", "LV". e.g. Bags Bags->Gucci Bags->LV However when I clicked on the product from Bags, I do not want the breadcrumb to be Bags -> LV Monogram Speeder. I want the breadcrumbs to show the full path: Bags -> LV -> LV Monogram Speeder Is there anyway to force it to use the default category? Note: I have been playing with the $currentCategoryId, but I am not sure how to go about forcing it to choose the default category. Please help. Thanks
  10. BUMP! Anyone here have a solution for this? I have a similar problem. We would want only the sub-categories to be displayed instead of every main category. Any help here would be very much appreciated. Cheers~! UPDATE: I've found the solution here-> http://www.prestashop.com/forums/viewthread/48033/development/solved_categories However, it does not work in the product.tpl. Every category and sub-category is shows up when I clicked on a product. Please help. Thanks.
  11. My bad... I thought I could override blockcart.php so I copied it over to the template's module directory and did my changes there. Thanks PrestaShopic! All is good now.
  12. I would like to move the Cart Block module to the top hook. Here's what I did, go to BO->Modules->Positions->Transplant a module. Select "Cart Block" and "Header of Pages" / "Top of pages" and Save. But when I checked my FO, it doesn't show up at all. However, if I selected to hook onto left column, it shows. Am I doing anything wrong? or do I need to modify the module code somewhere? Any help here would be very much appreciated Thanks.
×
×
  • Create New...