Jump to content

Rissinko

Members
  • Content count

    85
  • Joined

  • Last visited

About Rissinko

  • Rank
    PrestaShop Apprentice

Profile Information

  • Gender
    Male
  • Location
    Slovakia
  • Activity
    Other
  1. 1.7 Backend menu different language

    OK i found wrong translation in ps_tab_lang...
  2. Hi folks, I have a problem on 1.7.1.2. I have selected language for my country and everything in backend is translated but menu and all buttons are in different languages. When i want to translate it via translations there is everything ok. I can't find files where i can check translations of the admin menu. Any advice ?
  3. PS 1.6 is product gift ?

    Solved.. I found in Cart class funcion getSummaryDetails() which contains informations about gifts in cart.
  4. PS 1.6 is product gift ?

    This flag is in shopping-cart-product-line.tpl it shows when the product is added from cart rule like gift to the order....I really like to give you these informations but i don't know this is why i am looking for help because i can't find anything about it here and in prestashop codes/tables also.
  5. PS 1.6 is product gift ?

    So i tried to load object and print_r array but no gift info there... public static function getProductInfo($product_id) { $product = new Product ($product_id, $lang->id); print_r($product); } So anyone who knows where is this gift info stored or which class creating/using it ? Thanks
  6. PS 1.6 is product gift ?

    I am on 1.6 ...yes i think that i need load product object but i had some issues with it....
  7. PS 1.6 is product gift ?

    Maybe i didn't write it right so i try it again.. I am working on summary page in bankwire module. I know that in shopping-cart-product-line.tpl there is variable $product.gift And i need to know from what class i get it or how i can get it on my custom page because class Cart.php and function getproducts do not contain this info in array. maybe it is from class Product but i somehow can't get info from this class in module...
  8. PS 1.6 is product gift ?

    Here is the picture of the code and print_r of the $product from shopping-cart-product-line.tpl gift is as last info in array... Array ( [id_product_attribute] => 0 [id_product] => 691 [cart_quantity] => 1 [id_shop] => 1 [name] => Reklamné pero [is_virtual] => 0 [description_short] => Reklamné pero Tvojakáva. Darček k objednávke. [available_now] => [available_later] => ZASIELAME IHNEĎ [id_category_default] => 180 [id_supplier] => 0 [id_manufacturer] => 0 [on_sale] => 0 [ecotax] => 0.000000 [additional_shipping_cost] => 0.00 [available_for_order] => 1 [price] => 0 [active] => 1 [unity] => [unit_price_ratio] => 0.000000 [quantity_available] => -165 [width] => 0.000000 [height] => 0.000000 [depth] => 0.000000 [out_of_stock] => 2 [weight] => 0.000000 [date_add] => 2017-04-21 13:27:45 [date_upd] => 2017-07-24 13:00:06 [quantity] => 1 [link_rewrite] => reklamne-pero [category] => darceky [unique_id] => 00000006910000000000778 [id_address_delivery] => 778 [advanced_stock_management] => 0 [supplier_reference] => [customization_quantity] => [id_customization] => [reference] => [ean13] => [upc] => [minimal_quantity] => 1 [wholesale_price] => 0.000000 [id_image] => 6[spam-filter]1133 [legend] => Reklamné pero [reduction_type] => 0 [stock_quantity] => -165 [price_without_reduction] => 0.5 [price_with_reduction] => 0.5 [price_with_reduction_without_tax] => 0.416667 [total] => 0 [total_wt] => 0 [price_wt] => 0 [reduction_applies] => [quantity_discount_applies] => [allow_oosp] => 1 [features] => Array ( ) [rate] => 20 [tax_name] => DPH SK 20% [price_without_quantity_discount] => 0.5 [reduction_formatted] => 0,00 € [gift] => 1 )
  9. PS 1.6 is product gift ?

    Hi,i am working on summary page for bankwire module in my shop and i have problem to check if product is gift ... is anyone know which class is used in shopping-cart-product-line.tpl for storing this information ? or how can i get this info in bankwire module ?? in shopping-cart-product-line.tpl it is stored in $product.gift but class cart do not contain 'gift' in information about product.
  10. Solution / workaround for this problem is here : https://www.prestashop.com/forums/topic/591705-cant-translate-pdf-strings-in-17/?hl=%2Binvoice+%2Btranslate
  11. Can't translate pdf strings in 1.7

    Thanks very helpfull !!
  12. Hi, how to translate custom text which i added to the pdf invoice file ?? For example i add this text : {l s='this text' d='Shop.PDF' pdf='true'} And i want to translate it ... On verstion 1.6 it was in localization > translation but now there is missing pdf translations. Thanks.
  13. isLogged in class PS 1.6

    Hello, Can anybody explain me how can i check in class PaymentModul.php if the user is logged or not ? i tried if ($this->context->customer->isLogged()) if ($this->context->cookie->isLogged()) and if (Context::getContext()->customer->isLogged()) { if (Context::getContext()->cookie->isLogged()) { Bad no luck
  14. Tvoj problém bude o inom.. môžeš vyskúšať toto: go to php.ini and edit: max_execution_time = 10000 max_memory_limit = 512MB max_input_vars = 10000 Ak to ale nepomôže tak najskôr ti bude musieť pomôcť poskytovatel hostingu lebo môže byť že tam má niečo nastavené čo ti to spôsobuje.
  15. Ok I think i found problem. I don't know why but your /onexitpopup/views/templates/hook/onexitpopup.tpl file has structure like : !DOCTYPE html> <html> <head> </head> <body> </body> . . . Why you doing it like this ? Whole presta page / theme has own html head body tags and this adding another html head and body tags to the body of prestashop. I think its not very well how to show that popup. But ok this is not that problem .. Problem is that you have own jquery file with version 2.0.3. <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> All premium tables using own jquery or jquery which is defined in prestahop (jquery-1.11.0.min.js) .. so You can't add another file with different version because they will fight.. so when I deleted the line above it don't mess my page anymore. But I really thank you that you create this module it is really good idea to do this as free
×