Jump to content

Danijelp

Members
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • First Name
    Danijel
  • Last Name
    Pavlešić

Danijelp's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I can't get this to work (using 1.6.0.14). Here is my code: // Multiple attachments? if (!is_array(current($file_attachment))) $file_attachment = array($file_attachment); foreach ($file_attachment as $attachment) if (isset($attachment['content']) && isset($attachment['name']) && isset($attachment['mime'])) $message->attach(new Swift_Message_Attachment($attachment['content'], $attachment['name'], $attachment['mime'])); } // Your terms of service pdf $file_attachment['content'] = file_get_contents(_PS_ROOT_DIR_.'/dokumenti/file.pdf'); $file_attachment['name'] = 'file.pdf'; $file_attachment['mime'] = 'application/pdf'; /* Send mail */ Does anything else must be Please help!!!
  2. I'm using guest checkout for people which dont have company and I don't need company and vat number fields there, so I delete these 2 fields in order-opc-new-account.php file. Also I change target link of button Create an account on this quick order page from id="opc_createAccount" to id="createAccount". So, my wholesale customers must create account in regular way and they must fill company and vat number fields. Is there possibility to make these 2 fields required only when creating "regular" new account?? I played a little bit with address.php class and authentification.tpl but with no success, Thanks in advance
  3. Here is the fix. https://www.prestashop.com/forums/topic/442935-quantity-0-on-csv-import-not-updating-product/?p=2072228 it work for me on 1.6.0.14
  4. Greetings, I need some support to my prestashop v. Here are the tasks: 1. Here is a question about ZOPIM chat: https://www.prestashop.com/forums/topic/233362-module-zopim-chat-build-own-widget-for-free/page-16?do=findComment&comment=2058610 2. Catalog price rule: https://www.prestashop.com/forums/topic/443737-catalog-price-rules-per-customer/ - also I can't get to work if I choose for example in condition group #1 manufacturer: nike AND category: shoes AND category: socks I mean, I want to add some percentage discount for every product which is from manufacturer NIKE and in these two categories. It's not working, but it works if I using two condition groups: condition group #1 manufacturer: nike AND category: shoes OR condition group #2 manufacturer: nike AND category: socks ?! 5. disable price rules per ON SALE products: https://www.prestashop.com/forums/topic/290274-disabling-discounts-cart-rules-to-items-already-on-sale/?p=2076481 6. adding new customer group don't see all categories: https://www.prestashop.com/forums/topic/443716-update-all-categories-with-new-customer-groups/?p=2058733 - I don't know if I mark Wholesale group and customer own group, will he can access to all categories which are assinged to wholesale group 7. specials: I use catalog price rule per customer. Each customer has own customer group and discount scale for each manufacturer/category condition. So all discounted products has some discount and they became showed in specials. I want to display in Specials only products marked with checkbox ON SALE?! Also I want to have product filter by manufacturer, price, etc... for special products. 8. fixed price per customer group: When I add fixed price per customer group, in front office, there is a good price for example 4,40 kn but I have and strikethrough price 4,40 kn (the Pre-tax retail price is 6,15 kn) 9. CSV import - https://www.prestashop.com/forums/topic/454785-csv-import-16014/ Maybe something else pops up in the meantime I'm presta newbie, maybe I imagined wrong the whole system or not doing a good way settings to presta, I don't know, I was using Oscommerce for a years and I thing that presta is much better e-commerce.... I know that maybe a lot of work, but also know that you are a professionals so maybe someone can help thnx in advance
  5. Thank you for your reply.... I can't post apache logs because I can't find it. My hosting provider can't increase max execution time anymore....(I'm on shared hosting) I tried add php.flush somewhere in the AdminImportController.php file but I don't know right place to add it... Here is the server info: Server information Linux #1 SMP Thu Dec 18 00:59:53 EST 2014 x86_64 Server software version Apache PHP version 5.2.17 Memory limit 256M Max execution time 600 They advice me to make some progress bar of completition, but I have no idea how to do it or where to start. The main problem is that I have to import twice daily product stock from my billing software. The csv file hase 2 col and 1500 rows. Spliting csv to 50 rows is to much work.... Please if you have any information or solution please, plase share it.... thnx D.
  6. I have problems with 504 getaway timeout error all the time (only if I create csv with 10-20 rows). Is it possible to integrate that application script returns answer to apache, I mean to a web browser in order to avoid the timeout?? I mean when your import script that it returns a information to browser. This may be a simple echo-in, set or the slider that will show how far he got. Please help!
  7. Thank you very much. It solves sorting by name. I done this in classes folder (not in override). Is it correct?
  8. Hi, i'm using 1.6.0.14 and I cant' get this to work. Has anyone has some solution for this. I don't use vouchers, coupons etc... I'm using customer group discount for every customer with his own customer group. All I need is to don't get group discount for products marked ON SALE. Is this possible somehow? Please; I need help ASAP!!! thnx
  9. Is it possible somehow to sort customer groups by name in Create or Edit customers and in Catalog price rule when chosing group of customer? Now customer groups are sorted by ID in BO. thnx
  10. Thnx, I know for that but it's to expensive for me... Also I wonder if PS can "chew" so much quantity of products? Whether the front-office will work normally or slow?! I know that there is a possibility to import products through a SQL query directly...
  11. Greetings, how will prestashop work with huge number of products. I will try to move my oscommerce to prestashop where I have app. 25000 products (auto parts based). Recently I work with prestashop with some of 1400 products and it's slow importing with CSV importer. On live server it wasn't be possible to import it because of server limitations. So I'm affraid how will PS work with?! if anyone has any experience please share.. thnx
  12. Thnx Eric, I tried but don't know how get this to work. I tried in this way that create menu button in BO, make controller to call tpl file, but as I saw there is no possibility to include php functions in tpl file. Do you have some working example or something else to help me? thnx in advance D.
  13. As I know there is a possibility to add catalog price rules by Currency, Country and Group. Is it possible to add price rule by customer in this module? Here is scenario: Every customer must have his own rabate scale by categories/manufacturers. As I know this can be done if I add each customer in his own customer group and make catalog price rules per his own customer group. There is a problem beacuse I must create new customer group for each customer, make whole catalog (I mean all categories) can be accessed by this group. If it possible to add price rule by categories/manufacturer to each customer, I don't have to put every customer to his own customer group. If someone has any solution, please share thnx
×
×
  • Create New...