Jump to content

Agilulfo

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Agilulfo

  1. "nw5" is just a random prefix that prestashop choose during installation. Just enter in phpmyadmin and look wich one is yours.
  2. Mmh Yes, I looked at this oxid Eshop, and maybe you are right, but hell, they just copied prestashop in everything. Did anyone tried it? It is better? I would like the same but with prestashop and I think it's possible. What worries me is the speed, do you think that with a VPN you can manage to speed up prestashop so much?
  3. I think it's prestashop becouse the structure is exactly the same with the same information that you have on presta, look at the account, at the products page, the filters, the registration and checkout, the product page. It's the same that you have on prestashop
  4. Did you tried it from mobile? It's practically an app. The desktop version yeah, it's not so good at the end. But still, it's seems a lot prestashop 1.6 to me
  5. Hi guys, today accidentaly I found this e-commerce (by phone): https://www.tennis-point.com/ And wow, it's really well maden! I was immediately attracted buy the stile, very clean and light. After some seconds I even forgot I was using the browser, I was just thinkign: "When did I downloaded this app? Oh, wait...". It is good structured, a lot of things for SEO. Maybe they could improve some style with the products visualisation from desktop, but still, I think this site should always taking for what to do for create a good, strong and fast e-commerce for a company. I'm 99,9999% sure they used Prestashop. Is this 1.7? I have to create a new website soon and I just need something like this, that seems like an app from the smartphones and good looking from desktop. Do you think you need some particular css library to have the application style from phones? Do you have some advices to how to boost Prestashop so much? Like they for sure have an VPMv(for start), the site is really fast, now I have an 1.6 on a shared hosted and it's 7/8 seconds slower sometimes Edit: I'm talking mostly about the mobile version
  6. Hi everyone, is there a way to show a list of products of a particular category on the cart? Edit: If someone need this I created a specific module to display products of a particular category on the cart. I am using PS 1.6. If you have question just ask. cross_cart_selling.zip
  7. Ok that was it! Now that I hooked it in the header it works! But still, it doesn't really log you in, it always bring you to that screen, doesn't seem too user friendly. Could you please point me what file should I edit to just let the user login if the user already exist?
  8. Ok, this is my site url: https://www.tingoshop.com/it/login?back=my-account Thank you
  9. Yes you are right, it doesn't load the css,,,but why? I am also always (if custumer/mail already exists) getting the error message that tells me that "An email address required." Are those things connected in your opinion? And how can I solve the css problem?
  10. Hi, I don't understand if the module is broken or this is just the normale usage. After I login with facebook it always address me to the page in the screenshot (it's the one that also ljnuxxx commented). The problem is that this code: {if isset($bind_account) && $bind_account}selected{/if} {if isset($creat_account) && $creat_account}hide{/if} is not working! In fact it just shows me everything.. In the console there is no error message. How can I fix this, and it is normal that I always get addressed to this point? (I'm using Prestashop 1.6.1.11)
  11. Hi, this is falt of the of the prestashop's wordpad. You could choose "edit source code" and insert you description with your style and see if it keep it or not.
  12. I tried but it doesn't work. Maybe the query's for getting manufacturer Id and mail are not working. The fact is that is hard to debug this piece of code, do you have some advise? Edit: If I do like this $id_product=25; $id_manufacturer= Db::getInstance()->getValue('SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product); $manufacturer_mail=Db::getInstance()->getValue('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); everything is going fine, it get the manufacturer_mail and send the mail, so the only thing is getting the right id_product. Edit 2: I managed to obtain the product id by using the foreach ($products as $key => $product) cycle in the function and writing this inside: $id_product=$product['product_id']; Edit 3: Ok the bug with the solution written before was that it sanded the mail only at one manufacturer becouse $id_product took the last record in the cycle. In fact, for example, of the custumer bought 2 product with different manufacturers it sanded only at the last manufacturer. To prevent this I could create an array of product_id then an array of manufacturer mail or do another cycle. I did the second: foreach ($products as $key => $product) { $id_product=$product['product_id']; $id_manufacturer= Db::getInstance()->getValue('SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product); $manufacturer_mail=Db::getInstance()->getValue('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); Mail::Send( $mail_id_lang, 'new_order', sprintf(Mail::l('New order : #%d - %s', $mail_id_lang), $order->id, $order->reference), $template_vars, $manufacturer_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, $dir_mail, null, $id_shop ); } So with the solution wrote here (in public function hookActionValidateOrder() line 245) the module MailAlerts will send a mail also to the manufacturer (but is the same with suppliars) of the product. Now the new problem is that it sends all the "new order" mail to them, so like in the example of before, if Ithe client bought 2 products with different manufacturer both of them will recieve both the products in the email (sort of privacy problem). I think I have to modify the $template_vars to fix this.
  13. Hello to all, I know there are plenty of threads discussing about this but they are all old and on meny of them are empty...so I decided to start a new one. Right now I'm editing mailalerts.php to send the mail also to the manufacturer of the product. I found the function that is sending e-mails (for exemple public function hookActionValidateOrder($params) ). Right now I can send a mail to a certain manufacture e-mail if I staticaly define my variable, like this: $manufacturer_mail="[email protected]"; Mail::Send( $mail_id_lang, 'new_order', sprintf(Mail::l('New order : #%d - %s', $mail_id_lang), $order->id, $order->reference), $template_vars, $manufacturer_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, $dir_mail, null, $id_shop ); My problem is that I don't know how to take the product_id and use it to firstly take the manufacturer_id associated with that product and finaly the manufacturer_mail (I insert the mail in the "name" field in db instead of creating a custom field). I was thinking to using something like this to take the manufacturer mail, but I need the $id_product... $id_manufacturer= Db::getInstance()->executeS('SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product); $manufacturer_mail=Db::getInstance()->executeS('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); Do you have any idea on how to do it? Original files attached. Edit: See solution here: https://www.prestashop.com/forums/topic/548021-send-email-to-the-products-manufacturer-or-supplier-only-not-all-merchants/?p=2524217 MailAlert.php mailalerts.php
  14. Hello to all again, Right now I'm editing mailalerts.php to send the mail also to the manufacturer of the product. I found the function that is sending e-mails (for exemple public function hookActionValidateOrder($params) ). Right now I can send a mail to a certain manufacture e-mail if I staticaly define my variable, like this: $manufacturer_mail="[email protected]"; Mail::Send( $mail_id_lang, 'new_order', sprintf(Mail::l('New order : #%d - %s', $mail_id_lang), $order->id, $order->reference), $template_vars, $manufacturer_mail, null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, $dir_mail, null, $id_shop ); My problem is that I don't know how to take the product_id and use it to firstly take the manufacturer_id associated with that product and finaly the manufacturer_mail (I insert the mail in the "name" field in db instead of creating a custom field). I was thinking to using something like this to take the manufacturer mail, but I need the $id_product... $id_manufacturer= Db::getInstance()->executeS('SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product); $manufacturer_mail=Db::getInstance()->executeS('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); Do you have some ideas on how to do it?
  15. Hello, like many of us I have the "ERR_TOO_MANY_REDIRECTS" after register or login. How can I solve this problem? I tried everything that read on this forum but still same problem.
  16. Electrostuff hi, it's not a bad idea, but the module I need to make it's a bit different. The owner of the e-commerce I'm making is selling T-shirts of varius artists, and he want to automatically send an e-mail to the corrisponding artist every time on of his deisgn is bought. I also have very short times to do this module, he needs it in maximum 1 month!
  17. Hey AriT, did you managed to solve the problem and modify the module? I'm trying to do something very similar.
×
×
  • Create New...

Important Information

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