Jump to content

Paul de Cocq

Members
  • Posts

    17
  • Joined

  • Last visited

About Paul de Cocq

  • Birthday 01/30/1986

Profile Information

  • Location
    Zeist
  • Interests
    Webdesign, Front-end development, Php programming, jQuery, Css2/3
  • Activity
    Web development agency

Paul de Cocq's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. The products that I tested with are all full in stock. And if it is a product with more combinations all of the combinations are available to.
  2. I've the same problem/message when i add a product to the quotation module... only i'm using Prestashop 1.6.0.9 at the moment. In the Add on store it says that it is compatible up to 1.6.0.7 so that may be the reason? I hope with some minor adjustments it will be compatible with future versions of Prestashop. So i'd appreciate it if anyone can help :-)!
  3. Hi, I've got the following problem. I've got certain products that have customizable textfields (up to 2) in the product page (product.tpl). If a customer types something in those fields and puts the product in the shopping cart, I want to be able to show the values of the textfields somewhere in the shoppingcart. Is there a variable in smarty that i can call in the shopping-cart.tpl? I haven't found any information about this on the web, so i hope anybody can help. I'm using Prestashop 1.6.0.9. Couple of screenshots to clarify what i mean
  4. Hi everyone, I have this problem with my shopping cart. If i add a product in my shopping cart and then refresh the page. The last added product in the shopping cart is duplicated. But the total price is still the same. I haven't changed anything as far as I know in the blockcart module files. Though I downloaded a fresh Prestashop (1.6.0.9) install and replace the existing blockcart files with the new one, unfortunately the problem is still there. I've been looking for hours now and can't find the problem, i don't have any javascript errors in my console See my Screenshot:
  5. Hi, Ik had hier laatst ook problemen mee, de manier waarop wij dit opgelost hebben (wij gebruiken Prestashop 1.6.0.9) Als je naar Voorkeuren->Afbeeldingen gaat, dan zie je daar een hele lijst staan met afbeeldings formaten. Hier kan je afbeeldings formaten instellen alsmede de kwaliteit van jpg afbeeldingen. Vergeet niet als je klaar bent rechts onder op "Miniaturen hergenereren" te klikken.
  6. Hi everyone, I have to change the displayPrice notation if it is an round number like 99,00 i need to change that in: 99,- But if it is a number like 99,95 it has to stay like that. What i've tried: And this works fine for plain prices in overviews or product.tpl's. But in Ajax related elements throughout the site it doesn't work (like the shopping cart at the top of website and if you update quantities in the shopping cart). {convertPrice|regex_replace:'/[,.]0+$/':',-' price=$productPrice} What I need: to change something in the core files (or overwrite folder) so that the price notation changes everywhere correctly and the same. I found out that i need to change something in: classes->Tools.php (line: ~459 displayPrice function), and in the theme folder theme->js->tools.js so if anyone has an idea how to dot this i'd really appreciate!
  7. I will try this, after i back-upped the whole DB. It looks promising, Thanks!!
  8. I also do have a problem with displaying the left_column (with category block module) on the product page. I will try to explain to make things a little bit more clear. I can get it to show at only the product page. In my case it has something to do with the size of the $left_column_size variable in "header.tpl" that is not properly set. I'm talking about the following code: <div class="row"> {if isset($left_column_size) && !empty($left_column_size)} <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div> {/if} {if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if} <div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}"> I had done a print_r in smarty to see what $left_column_size contained as a result i got "0" that doesn't seem right. So what happens* (only at the product page) that he doesn't even shows the "left_column" div because the size is not set. That explains why there is no left column at all, but why only on the product page? Temporary solution: What i Tried and what worked is the following code but that isn't the proper way to do this i think? {if $page_name == 'product'} <div id="left_column" class="column col-xs-12 col-sm-3">{hook h="displayLeftColumn"}</div> <div id="center_column" class="center_column col-xs-12 col-sm-9"> {/if} So does anyone have any suggestions why the left-column is not showing at the product page it is turned on at "settings->themes->advanced-settings" any help would be much appreciated
  9. Hallo, Wij zijn voor een klant opzoek naar een goede Parcelware module, die enigszins up-to-date is. Mijn belangrijkste vraag is dan ook werkt deze plugin ook voor Prestashop 1.6 ? De prijs is naar mijn inziens goed vinden wij (ga het zelf maar is maken, dan ben je meer uur (lees: geld) kwijt lijkt mij) Als u mij misschien een bericht zou kunnen sturen met contact gegevens dan wil ik graag even contact opnemen, voor wat verdere informatie over deze plugin. Met vriendelijke groeten, Paul
  10. Maybe not the most beautifull way to do it, but it works. If anyone has any suggestions on how to do it in a better way, please let me know ;-) if (Validate::isEmail($this->context->customer->email)) if($order->total_discounts > 0){ Mail::Send( (int)$order->id_lang, 'order_conf_no_discounts', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); }else{ Mail::Send( (int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); }
  11. Hi everyone, For one of our customers we need to make a little tweak in the prestaShop order_conf.html email template. The issue is we want to (see photo) disable the <tr> (circled in red) with the discount tag if the customer has no discount, en we want to enable it when the customer is given a discount. so what i really need is 2 email templates: - order_conf.html (default) - order_conf2.html (with no discount rule) so i'd really appreciate it if anyone can help me in the right direction with this issue. Thanks in advance Paul
  12. Hi i'm working on a webshop for one of our customers, he's just starting his new online store, and asked me if it is possible in prestashop (1.6) to let customers order only if the customer address is within a radius of let's say for example 50km. I hope anyone has an idea how to accomplish this, or maybe a suggestion for a good prestashop 1.6 ready module to purchase for a reasonable price. I'm looking forward to any responses.
  13. Hi, with css it's pretty easy, u can add the following code in style.css in you're theme. you only have to adjust it to your own preferences. excuse me if it's not what you meant. option 1: Add a class to each category like: li.image-1 {background:url('your-image.png') left top no-repeat;} li.image-1 > a {padding-left:20px;} option 2: Add an "after" to the list item (be sure you're list-item is position:relative;) like: li {position:relative;} li:after {content:'';background:url('your-image.png') left top no-repeat;position:absolute;top:0;left:0;width:20px;height:20px;} option 3: Give the list item an data-attribute like: *html <li data-attr="image-1"> <li data-attr="image-2"> *css [data-attr] {display:inline-block;height:20px;width:20px;background-position:left top;} [data-attr=image-1] {background-image:url(your-image-1.png);} [data-attr=image-2] {background:url(your-image-2.png);}
  14. Hi, I was wondering if it is possible to add the supplier details like (phone, name, address) into the order_conf.html template that goes out to the customer. for example: {supplier_name} = 'Supplier' {supplier_address} = 'Prestashop lane 231' etc... In classes/PaymentModule.php i tried to add the following code in the $data array (after line 560) $address_id=Address::getAddressIdBySupplierId($this->product->id_supplier); $data = array ( {supplier} => '$supplier->name', It is a wish of one of our customers, but we can't find a module, and i'm pretty new with prestashop, so any suggestions would be helpful Thanx!
×
×
  • Create New...