Jump to content

Voltuuu

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    Voltu
  • Last Name
    BWZ

Voltuuu's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello everyone, I'm writing installation and uninstallation for my module that contains few overrides. I copy those overrides by using functions so that prestashop doesn't fail recompiling them. Basically if the file doesn't exists it gets copied to that directory and if not returns false, those installations are register in install() function. The question is if the function returns false how do I customize or add another error under the one that I show in the jpg picture below. Thanks!
  2. SOLVED. My mates override was outputting those errors not mine.
  3. Hi, So I added a new column to ps_product and ps_product_shop and the back office started popping out errors, does anyone have an idea on how to fix this? I forgot to add that I override the informations.tpl with my module: Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php [2048] Declaration of Product::addCombinationEntity() should be compatible with ProductCore::addCombinationEntity($wholesale_price, $price, $weight, $unit_impact, $ecotax, $quantity, $id_images, $reference, $id_supplier, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = 1, array $id_shop_list = Array, $available_date = NULL) Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php [2048] Declaration of Product::updateAttribute() should be compatible with ProductCore::updateAttribute($id_product_attribute, $wholesale_price, $price, $weight, $unit, $ecotax, $id_images, $reference, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = NULL, $available_date = NULL, $update_all_fields = true, array $id_shop_list = Array) Unknown error on line 304 in file C:\xampp\htdocs\usa\override\classes\Product.php [2048] Declaration of Product::addAttribute() should be compatible with ProductCore::addAttribute($price, $weight, $unit_impact, $ecotax, $id_images, $reference, $ean13, $default, $location = NULL, $upc = NULL, $minimal_quantity = 1, array $id_shop_list = Array, $available_date = NULL) Notice on line 404 in file C:\xampp\htdocs\usa\cache\smarty\compile\0c\3d\69\0c3d6954615106a30c37911374ec7cf8ec67e208.file.informations.tpl.php [8] Undefined property: Product::$new_product_flag
×
×
  • Create New...