Jump to content

grigorevlad

Members
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

Recent Profile Visitors

3,621,072 profile views

grigorevlad's Achievements

  1. Eu folosesc modulul lui Marius si confirm ca merge perfect
  2. Salut Marius, de unde pot cumpara modulul? Cel de pe addons este al tau? https://addons.prestashop.com/en/shipping-carriers/23734-urgent-cargus-lite-shipping-carrier.html
  3. Da, si eu. Din pacate pe addons comerciantul cu modulul urgent cargus nu raspunde la mesaje. Vroiam sa cer un acces demo, are doar un screenshot si nu este suficient ca sa verific cum functioneaza.
  4. Hi, Unfortunately in PS 1.7.x i can no longer include php in tpl files, in order to do that i created a module and hooked it to displayProductAdditionalInfo. Every time the user selects a product combination, i need to get the combination reference (specific reference) and call an API to get and display warehouses stocks quantity for that product. Everything is working fine except i can't get the combination reference that the user is seeing into the module PHP file where the API process is running. This is the part of the file from the module where i need to post the combination reference: $data = array( 'cif' => $companyVatCode, 'date' => date('Y-m-d'), 'warehouseName' => '', 'productName' => '', 'productCode' => 'HERE I NEED THE PRODUCT SPECIFIC REFERENCE', ); try { $list = $sbcClient->productsStock($data); foreach($list as $item){ foreach($item['products'] as $product){ $wName = $item['warehouse']['warehouseName']; $codprod = $product['productCode']; $quantity = $product['quantity']; printf("%s%s%s%s%s%s%s".PHP_EOL,'<tr><td>',$wName,'</td><td>',$codprod,'</td><td>',$quantity,'</td></tr>'); } } } If i manually register a code (ex: 'productCode' => '5400852326801', ), then on the product page everything loads fine: How can i do this and call the API every time the combination changes? Thanks
  5. Hi, Unfortunately in PS 1.7.x i can no longer include php in tpl files. I need to send (API) the specific product reference to a external server in order to get and display product stocks from the warehouses. I created a module and hooked it to displayProductAdditionalInfo, so far so good. I just need to send the specific product reference that the user is seeing on the website. Any way of achieving this? $data = array( 'cif' => $companyVatCode, 'date' => date('Y-m-d'), 'warehouseName' => '', 'productName' => '', 'productCode' => 'HERE I NEED THE PRODUCT SPECIFIC REFERENCE', ); try { $list = $sbcClient->productsStock($data); foreach($list as $item){ foreach($item['products'] as $product){ $wName = $item['warehouse']['warehouseName']; $codprod = $product['productCode']; $quantity = $product['quantity']; printf("%s%s%s%s%s%s%s".PHP_EOL,'<tr><td>',$wName,'</td><td>',$codprod,'</td><td>',$quantity,'</td></tr>'); } } } If i manually register a code (ex: 'productCode' => '5400852326801', ), then on the product page everything works fine: Thanks!
  6. I got to build most of the website before i realized this function is not available with Prestashop 1.7.x. Prestashop 1.7.5 RC version is out and still no advanced stock management, i don't get how they want to migrate their customers that were using 1.6 with ASM if they didn't include it in this version. The fact that are modules available for this don't suit my needs, i'm using Store Manager to update the website and it can only connect to Prestashop's native database, not purchased modules databases. So....crap. Prestashop, you're to greedy and you just lost a customer. I'm looking for other ecommerce platforms, so will others.
  7. Am cumparat de pe addons un modul dezvoltat initial pentru arukereso.hu, iar developerul a fost de acord sa il adapteze pentru compari.ro. Astazi, 27.03.2018 a fost uracat pe addons versiunea compatbila cu compari.ro, am testat-o si functioneaza impecabil. Contine si generator de feed pentru compari. https://addons.prestashop.com/en/marketplaces/20682-arukereso.html?pab=1&
  8. Hi, Font Awesome icons disappeared when i turned on media servers. I fixed it by adding at the end of the .htaccess file: <IfModule mod_headers.c> Header set Access-Control-Allow-Origin: * </ifModule> I hope it helps
  9. It seems that the crawl agent was not allowed by server firewall. The problem can be marked as solved, thank you!
  10. Hi, I'm trying to add a link that opens a fancybox to product images on google, based on reference code. My shop sells brand sunglasses, so by searching reference code google displays relevant pictures. I have already added to front controller: $this->addJqueryPlugin(array('fancybox')); And to header.tpl (inside head section): <script type="text/javascript"> $(document).ready(function() { $(".iframe").fancybox(); }); </script> Now, to search for product images on google i can use this link: <a href="http://www.google.com/images?q={$product->reference}" target="_blank">Search for images</a> Inserting class="iframe" has no effect, it just opens a new page. When using Vekia example posted on another topic <a href="http://localhost/1606a/modules/themeconfigurator/img/banner-img6.jpg" class="iframe">TEST</a> it opens a fancybox, but with not found file error of course. Do any of you guys have any ideas how to put a link to product page that opens iframe to "http://www.google.com/images?q= {+product reference} " ? Thanks!
  11. Hello, I have solved the problem, it seems that the hosting company forgot to set execute permission for files. Thanks!
  12. It seems i don't have permission to change files right now, i opened a ticket to the hosting company. I have previsously erased the comments you suggested, but same problem still occured, with new log_error row: [07-May-2014 22:55:47 Europe/Helsinki] PHP Parse error: syntax error, unexpected '>' in /home/grigor17/public_html/magazinescu.ro/index.php on line 4 Also, i have tried uploading backed up files from 1 month earlier in magazinescu.ro. So i guess there is no error / issue with files themself. I guess there's some functions that prestashop uses, that the new server can't handle. Or there might be some error caused by the person who moved the files to the new server. Is there a way to disable things like Appache, Cache, File system cache etc. from server files? And after that delete all the junk contents? Maybe if i disable all performance options from server files it will run. Thank you
×
×
  • Create New...