Jump to content

HarmPresta

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by HarmPresta

  1. Hello, I want to add a delivery time to the invoice PDF, I've tried to code it but without success. What I think what must be done is add on invoice.summary-tab.tpl an extra rule 'delivery time' and an extra rule with information in it. I've tried to add $carrier->delay but the result in the PDF is "Array" while if I add $carrier->name it prints the name of the carrier. So Somewhere I must add the delay somewhere? Who can help me? <table id="summary-tab" width="100%"> <tr> <th class="header small" valign="middle">{l s='Invoice Number' d='Shop.Pdf' pdf='true'}</th> <th class="header small" valign="middle">{l s='Invoice Date' d='Shop.Pdf' pdf='true'}</th> <th class="header small" valign="middle">{l s='Order ID' d='Shop.Pdf' pdf='true'}</th> <th class="header small" valign="middle">{l s='Order date' d='Shop.Pdf' pdf='true'}</th> <th class="header small" valign="middle">{l s='Delivery time' d='Shop.Pdf' pdf='true'}</th> {if $addresses.invoice->vat_number} <th class="header small" valign="middle">{l s='VAT Number' d='Shop.Pdf' pdf='true'}</th> {/if} </tr> <tr> <td class="center small white">{$title|escape:'html':'UTF-8'}</td> <td class="center small white">{dateFormat date=$order->invoice_date full=0}</td> <td class="center small white">{'ORD-I365-'}{$order->id}</td> <td class="center small white">{dateFormat date=$order->date_add full=0}</td> <td class="center small white">{'delivered within 3 - 5 weeks'}</td> {if $addresses.invoice->vat_number} <td class="center small white"> {$addresses.invoice->vat_number} </td> {/if} </tr> </table>
  2. Hello, I have on my prestashop 1.7 webshop a module Related Products installed and showed them on the product page. With a button which leads to quick view, customers can add the product to the shopping cart. But in quick view mode, when the customer select an another option (combination) the price does not update. In quick view on product list pages etc. does it work. What could cause the problem? Kind regards,
  3. I'm using a modified bought theme. Original: https://addons.prestashop.com/en/fashion-shoes-templates/19720-nimble-grid.html Using Prestashop 1.7.4.4
  4. See attachment: I found out that if I delete core.js completely it works fine. But, deleting completely should not be the solution. And some borders are deleted. But the function works. Now find the exactly problem. -- hehe not anymore.. step forward works, but backwards not.
  5. Hello, When I want to pay my order as a guest, the continue (Doorgaan) button doesn't work. It goes back to step 1 (I think the page is getting refreshed?). If I'm logged in and click on the continue button, it works fine. Does anyone know where I have to search? Kind regards,
  6. Hello, My shopping cart got all the information I want to have, but the ordre is wrong. My ordre now is: 1 Subtotal 2 Delivery 3 Tax 4 item taxfree. I want it to have a more logic way. 1 Item taxfree 2 Tax 3 Subtotal 4 Delivery. I can't find where the code is located in my tpl files. I found the location of the complete row, but can't change the ordre individually. Is there someone who can help me? It is inside the cart-bottom from ps_shoppingcart.tpl The rows Total line products, total line shipping and total line tax are the ones I want to change the ordre. Is that even possible? Kind regards, Harm
  7. Hello, I want to remove the container from all CMS pages in Prestashop 1.7.5 so I can use the full width. I can't find anything on the internet for 1.7 version. Does anyone know how to do it?
  8. Hello, I have a theme Postilla and it has a search button, see screenshot. I want to remove the button and place a search bar instead of it. The second screenshot is when you click the button, but I want that bar immediately at the homepage in stead of clicking first the button. Can't figure out how. Anyone a solution? Tried something in ps_searchbar.tpl which works good but can't get the styling done, see screenshot 3. Prestashop 1.7.5
  9. Hello, Easy question, but I can't find any solution on the internet. Is it possible to have a color picker as a dropdown list?
  10. I don't want to delete it, because it's an option when I make an another choice at 'Uitvoering'.
  11. Hello, I have set 'Display unavailable product attributes on product page' to no, so not available combinations are hidden. But the attribute name is still shown, is there an option to hide the attribute name? Can't find it on the internet. See attachment. 'Versie' is not available, but still the name shows. Prestashop 1.7.5.0
  12. Hello, I have followed these instructions to get the name of the color displayed: But if I have 2 color pickers, it displays the name of the upper color picker row on both. See screenshot. Is it possible to have two different name displays? I have tried to make an extra color attribute but that doesn't work. Anyone a solution?
  13. Hello, I'm using Postilla theme at Prestashop 1.7.4.4 and the thumbnails of my products are just the same as the head image but smaller. Now I want my thumbnail having a total different size than the headimage. My images are now 800x1074 (which we maybe change to 1024x768). But the thumbnail images should be 825x340px. Making the divs that size isn't the problem, but the thumbnail images are wrong filled. We can fix that but than in the productpage (where the pictures are 1024x768) I have plain background at the top and bottom to fill the rest of the image. So that's ugly. Is there an option to have a custom thumbnail photo instead of just a smaller image?
  14. Solved it via Configureer -> Verkeer en SEO -> and remove {category:/} from {category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13}.html
  15. Hello, I can navigate through the menu between the categories, but when I click a product and want to navigate again through the menu, than the previous category from the product stays in URL and so exists the 404. So, the problem exists when I navigate from product to category via the menu. Hope I explained it well, anyone knows what's the problem?
  16. Hmm, I searched through the combinations and found the reference field in the combinations. Actually it's exactly what I was looking for. A lot of work to fill in all these combinations, but it's what we want. We want the reference displayed at the invoice.
  17. Hello, I'm making a new webshop using Prestashop. We already have an existing overview on paper with article numbers from products we sell. But I want to add the numbers to the products online, but every combination must have an unique number. I can fill in the reference but that's not specific enough. So, every single combination I need an unique number. Is that possible? Kind regards, Harm
  18. Checked my PHP version: Current PHP version: 7.1.20. So, first I'm going to update my PHP before further actions, thank you.
  19. I want the green 'New' label to be removed, it's at Preferences->Products but I have an error: Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. With the debugger I found something, but now I don't know what to do. I have no access to the database next two weeks. Do I need an SQL file to edit or via phpmyadmin? Found this link: is this the onliest way? http://forge.prestashop.com/browse/BOOM-5982
  20. I found the problem... open in /src/PrestaShopBundle/Controller/Admin/ProductController.php $attributeGroups = $this->getDoctrine()->getManager()->getRepository('PrestaShopBundle:Attribute')->findByLangAndShop(1, 1);set in FindByLangAndShop(you language id, you shop id)I had a new language installed, with ID 4, changed ->findByLangAndShop(1, 1); to ->findByLangAndShop(4, 1); and all works fine now.
  21. Hello, I made new attributes for my products, but they don't show up when I want to choose them in combinations. I don't know how to fix this issue, maybe somebody knows it. Cleared cache, tried another browser. -edit When I add a new color it doesn't appear in the color tab.
×
×
  • Create New...