Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by giwrgos88

  1. true, i think is the best option. do we know exactly where this module it is used in the admin panel? which parts affect, if it affects
  2. there website is down, how i will load them or visit their page to get them? if anyone has them please share it with me and i will create a new topic how to fix the issue
  3. do you have them local to share it with us?
  4. what was the right place? can you share your solution?
  5. I found out how to override the product class but the issue is that the attribute always has the value 1 even if i add false or a date as a value. any ides? here is my code https://pastebin.com/nesKN8iW does anyone know what i'm doing wrong? basically I want to make a module where the admin can set a date to a product if it is preorder and I want each product to have this extra attribute, in the checkout process for example, on single page or on the home page where you display the products. Note: I don't want to store this attribute inside the product table
  6. Hello @hhennes @jgamio it looks like on prestashop 1.7 is not working. any other suggestions?
  7. I don't want to add extra fields, I just want to extend the existing Product class with my module and add an extra attribute called preorder(boolean)
  8. Hello, I'm working on a module and I want to extend the product class in order to add an extra attribute to the class. I want this attribute to be available on product list page, category page, product page etc. Basically I want to add a boolean attribute if the product is preorder or not Does anyone knows how i can do it? PRestashop 1.7 and 1.6
  9. @tdsoft As I said I want to display it in the single product page, not on the category page that's why I'm using the displayRightColumnProduct. As for the $product = new Product((int) Tools::getValue('id_product')) you are right but event if you do var_dump or just return the tpl file with static text it doesn't display it.
  10. Hello, I'm working on a module for prestashop 1.7 and 1.6 (I'm testing it on 1.7) and I want to display some information on the single page of a product and for that reason I used the displayRightColumnProduct hook. The issue is that I cannot see the content that I'm printing from displayRightColumnProduct but If i go to Design -> Positions I can see my module on the right column product section. Here is my code <?php if (!defined('_PS_VERSION_')) { exit; } class Rating extends Module { public function __construct() { $this->name = 'rating'; $this->tab = 'front_office_features'; $this->version = '0.0.0'; $this->author = 'George Panayi'; $this->ps_versions_compliancy = ['min' => '1.6', 'max' => _PS_VERSION_]; $this->bootstrap = true; $this->controllers = []; parent::__construct(); $this->displayName = $this->l('Rating'); $this->description = $this->l('Test module'); $this->confirmUninstall = $this->l('Are you sure you want to uninstall?'); $this->page = basename(__FILE__, '.php'); } public function install() { if (!parent::install() || !$this->registerHook('displayRightColumnProduct') ) { return false; } return true; } public function uninstall() { if (!parent::uninstall() ) { return false; } return true; } public function hookdisplayRightColumnProduct($params) { return $this->display(__FILE__, 'rating.tpl'); } } Here is my rating.tpl (mymodulename/views/templates/hook/rating.tpl) This is a test Do you know what I'm doing wrong?
  11. Hello, I'm writing a module that it will add an extra tab on the edit product page (back office). I did a small research and I saw many people that they are suggesting the following methos Tools::getAdminTokenLite('AdminModules') $token = Tools::getAdminToken($tab.(int)(Tab::getIdFromClassName($tab)).(int)($cookie->id_employee)); 'token' => Tools::getToken(false) I did several combinations, like changing tabs, module names etc, but non of them returned the same token that exist on the URL. Does anyone know what method to use in order to get the same token on my tbl with the one on the URL? Also how I can build a friendly url on the smarty? Now it is index.php?controller=AdminProducts&amp;token={$token|escape:'html':'UTF-8'}" And i need something like this index.php/product/catalog?_token= Thanks
  12. milas gia tin selida p vlepi o pelatis? nai mporis, sto product.tpl to variable $product periexi nomizo to whosale price. mporis fisika na kanis ena var_dump gia na dis ti values periexi to $product
  13. I lisi einai apli. Sindiase recaptcha kai csrf token kai to provlima tha lithi
  14. Apla pigene sto "my account" tu pelati su/logariasmou su sto front end kai eki tha dis tin epilogi gia ta loyalty
  15. Vlepontas to minima den exi na kani kati me to configuration tu XAMPP kai tu PHP, alla me to database su, mipos ta credentials itan lathos (den gnorizo). fenete kathara oti ekane failed kata ti diarkia dimiurgias ton prestashop tables
  16. Ite 1.6, ite 1.7 oi pithanotites gia bug einai oi idies otan milume pantote gia stable versions. To 1.7 einai to melontiko tus version kai se kapia fasi tha kanun discontinue to 1.6
  17. Tha itan pio eukolo an evazes kai mia ikona apo to backoffice, aposo gnorizo den iparxi kapio bug sxetika me ta special prices
  18. long run σίγουρα 1.7 αν ξεκινάς κάτι απο το 0. Το 1.7 είναι η εξέλιξη του 1.6 και σε θέματα support, το 1.7 θα έχει για περισότερα χρόνια.
  19. Αυτά χρειάζεσαι για να μπορείς να έχεις eshop System: Unix, Linux or Windows. Unix is highly recommended. Web server: Apache Web server 2.0 or later. PHP 5.4 or later. You may have to activate PHP 5 (ask your hosting provider). MySQL 5.0 or later. At least 128 Mb of RAM on your server. PrestaShop can also work with Microsoft's IIS Web server 6.0 or later, and nginx 1.0 or later. Περισσότερα http://doc.prestashop.com/display/PS17/What+you+need+to+get+started Μπορώ να σου παρέχω και εγώ χώρο αν σε ενδιαφέρει. μπορούμε να μιλήσουμε με προσωπικά μηνύματα
  20. Δυστυχώς θα πρέπει να πειραχτεί κώδικας εαν το template δεν το υποστηρίζει
  21. an lavanis kapio error message sto error_log file tu server sou
  22. Prospathises na ala3is katholou to address-form.tpl? To error lei pos prospathis na piasis mia timi me index key 'name' apo ena array alla epidi to 'name' den iparxi su emfanizi auto to error. to ti mporis na kanis einai ena var_dump kai amesos meta exit, gia na dis ti keys kai ti values exi ekino to array. pos mporis na to apofigis auto to error einai na elexis kata poso iparxi ekino to key sto index, paradigmatos xari, An exis ena array p legete client tha kanis to e3is if(isset($client['name'])) { kane ekino pou thelis na kanis me to name }
  23. When i click on add to cart on desktop it shows the checkout modal, where on mobile it doesn't. On network tab from chrome i saw that on desktop there is call to ps_shoppingcart ajax url where on mobile is missing. Is it a bug or im missing something?
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More