Jump to content

Katia Smet

  • Posts

  • Joined

  • Last visited

Profile Information

  • First Name
  • Last Name

Katia Smet's Achievements


Newbie (1/14)



  1. Hi Our webshop is online since 1 September 2016. We tested everything and it went all good, right settings etc. Now the shipping costs have been set to 0 for 2 times in a row. In the order-history you can see that it was set up right except for the last order. Could this be a Prestashop bug? I tested this again when I changed the shipping costs to the right price and nothing changed. Or is it possible that somebody hacked into the website? How can I see this? Thanks!
  2. Dear Our webshop is online for a while and from time to time the shipping costs become 0. I don't know how this is possible, is this hacked or is it a bug in Prestashop? Every setting is right and I did this for 3 times in a row now and still people get 0 shipping costs. Thanks! Attached the right shipping costs, sometimes the numbers are set to 0 out of the blue.
  3. We just launched our webshop online, everything went good on staging and local till now. When I place an order, products are added to the order that are not in the catalog or whatever. Products example: demo_2 - Blouse - Color : White, Size : M There are 3 added products to my order with all demo references. How is this even possible when i never added this to my cart and it's not even in our catalog ?
  4. I'm almost done with my prestashop and I noticed a strange issue. For filtering i'm using layered navigation, some categories don't have this layered navigation and on these pages the sort function does not work. So it works when there is a layered navigation but it doesn't when there isn't any layered navigation. On the search page it works. How do I solve this ? Prestashop version: Working sort: http://www.katiasmet.be/bvn_dev/3-dier Not working sort: http://www.katiasmet.be/bvn_dev/14-tuin Disabling the layered navigation on those pages does not work.
  5. This does not work because the variable is empty. I cannot override it, it's ignored. I can only put this in the original controller and this variable is empty. I configured my modules like contact infos for my footer. Now i would like to access this information in a contact page. How can I acces this information?
  6. Hi I would like to customize my contact-page. Therefore I would like to display 2 extra modules. 1 before the contactform: blockcontactinfos and 1 after the contactform: blockcmsinfo. I could include those tpl but he can't find the php-variables. How do I send the php variables to contact-form.tpl ? Error code: Notice: Undefined index: blockcontactinfos_company in /Applications/MAMP/htdocs/BVN/cache/smarty/compile/d5/68/76/d56876ff0f015b0f0ee84c6aa8802bb325ac00b1.file.blockcontactinfos.tpl.phpon line 36 {include file="$tpl_dir./modules/blockcontactinfos/blockcontactinfos.tpl"} //contact form code {include file="$tpl_dir./modules/blockcmsinfo/blockcmsinfo.tpl"}
  7. Hi everyone I'm new in Prestashop and it seemed good to build a webshop for a client in it. I have experience with php, html, css, js, ... I designed the webshop and I have the static webpages. Now I tried to build this with prestashop but it just seems so complex to create a proper structure for each page? Is it correct that you can only control the structure from the back office with modules ? Can I make this easier? As an alternative I tried to do api calls with json but posting information f.e. a customer won't work. I'm trying to do the post with slim so I can build my app with react. But I keep getting errors on the asXML line $app->get($base, function($request, $response, $args){ try { $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); $xml->customer->firstname = 'a'; $xml->customer->lastname = 'a'; $xml->customer->email = '[email protected]'; $xml->customer->newsletter = '1'; $xml->customer->optin = '1'; $xml->customer->active = '1'; $opt = array('resource' => 'customers'); $opt['postXml'] = $xml->asXML(); $xml = $webService->add($opt); } catch (PrestaShopWebserviceException $e) { $trace = $e->getTrace(); if ($trace[0]['args'][0] == 404) echo 'Bad ID'; else if ($trace[0]['args'][0] == 401) echo 'Bad auth key'; else echo 'Other error'; } $test = 'ok'; $response->getBody()->write($test); return $response->withHeader('Content-Type','application/json'); }); Can somebody help me please? I've done so much research... Thx
  8. Hi Everyone I would like to use React JS for my prestashop. But how can I fetch my data (like products) in JSON ? Thank you! Greets Katia
  • Create New...