Jump to content

headscarvesbyciara

Members
  • Posts

    20
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    UK
  • Activity
    Project Owner

headscarvesbyciara's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Any solution for this. I am trying to add Trustpilot AFS json code to email templates?
  2. Not sure of anyone is watching this post anymore. I have tried posting elsewhere and crating new posts but no responses in 3 days so though I would try here. I am using Preastashop 1.6.0.4 and wondered if there is a way to add JSON inside an HTML email template for new_order.html The reason I need to do this is to implement the trustpilot AFS 2.0 . Their new implementation only uses JSON to pass some data to their system via email I have tried placing the code <script type="application/json+trustpilot"> { "recipientEmail": "{email}", "recipientName": "{firstname}", "referenceId": "{order_name}" } </script> as above, also inside HTML comment tags <!-- --> and inside CDATA tags and inside {literal}{/literal} tags [which Are probabaly only for .tpl files??] The JSON seems to be always stripped out before the email is sent (via swift mailer) I think it is either part of PS core or maybe the result of HTML purifier. I tried disabling HTML purifier from dashboard settings but still no luck Anyway of there is a way to do this i would be most grateful to find out how
  3. Anyone know of a way to be able to add this to the new_order.html email template that comes with the email_alerts module. I have tried to add it using the translations interface but when i try to save it I get the error cannot have javascript in your Email templates!!!! I also tried using CDATA tags and ordinary html comment tags, neither of which seemed to work, and HTMLPurifier library turned off! I am using Prestashop 1.6.1.4 <script type="application/json+trustpilot"> { "recipientEmail": "{email}", "recipientName": "{firstname}", "referenceId": "{order_name}" } </script>
  4. I also tried using CDATA tags and ordinary html comment tags, neither of which seemed to work, and HTMLPurifier library turned off! I am using Prestashop 1.6.1.4
  5. Anyone know of a way to be able to add this to the new_order.html email template that comes with the email_alerts module. I have tried to add it using the translations interface but when i try to save it I get the error cannot have javascript in your Email templates!!!! <script type="application/json+trustpilot"> { "recipientEmail": "{email}", "recipientName": "{firstname}", "referenceId": "{order_name}" } </script>
  6. thanks for your input psyco killer but this does not really fix the problem we are identifying. I'm delighted it works for you though For me I have turned off one page checkout OPC and everything is working really well. I wish it worked with OPC though ;(
  7. I have more or less the same configuration as OP,(Othreed) however I also use the stripejs plugin to take payments via creditcard. I use advanced EU Compliance, Paypal, PS 1.6.1.4 etc and one page checkout selected in PS. I have the same issue that someone can click "order now with obligation to pay" without first being signed in or creating an account or using guest checkout to add addresses As a temporary fix I have switched back to the standard 5 page checkout rather than the onepage checkout in PS. This fixes the issue, but i did much prefer the one-page-checkout, so I hope this gets fixed soon. Has anyone contacted the plugin/module author to alert them to the issue? Note: I still have advanced checkout set in EU Compliance module, but without 1page checkout set in PS backend it shows me 5 page process Hope this info helps Can someone contact module author and find out if there can be a fix I think all that would have to happen is some authentication/validation to check if either USer logged in OR account has been created OR delivery address present ??? (I'm not a good enough programmer to hack this together tho ;(
  8. Has anyone else heard about this as a bug or experienced it. Should I report it as a bug and if so where? I have facilitated a return on my website. As part of the return I was given the option to create a voucher or creditslip. I choose voucher. The Voucher was created and had a code, this voucher was set to "Limit to a single customer" automatically which is what I wanted anyway. The problem is that now that this voucher exists, even though only for one customer, the voucher input box is showing up in the shopping cart for everyone. I have noticed more dropped carts as potential customers a re obvioulsy going off to look for code and never coming back The customer now has the voucher so i can't just remove it Surely if a voucher is set to individual customer it should only cause the voucher box to show to them if they are logged in and everyone else should not see the voucher box as no valid vouchers are available to everyone. I know I can create a more general voucher and then i would expect the box to show for everyone, if i was running a promo or something, but this an individual voucher, please help Can anyone confirm this as a bug? Thanks
  9. Jason Lucky to catch me! . I don;t have time to look up all the pages and things I changed but here is a quick summary and I'll tell you the site to look at I moved the customisation section to appear just below the short description in product.tpl. I edited the CSS to style it how I wanted. I then altered the JS in product.js so that if someone selected a radio button for Custom measurement the customisation box fades in. The only thing I was not happy with is I had to keep the 'save' button on the customisation, so it has to be saved first before it is added to the cart. Not great UX but included some spinners and text feedback so user knows what to do. I reckon it could be changed to save the customisation and add to cart on the same call, but involved way too much alterations to the core for my liking One issue was while viewing in mobile device user didn;t see the customisation box appear so I added JS to scroll to the place where the box appears. The validation even works but only if you set the customisations to 'required' which I could for about half of them, but half had other size option , which resulted in error for user if they didn;t select the custom measurement, if you follow headscarvesbyciara.co.uk, go into caitlyn scarf for example and select custom measurement and you will see. This is a live site tho so please don;t play around too much and mess with my metrics!! When I have more time i could answer any specific question you may have or share code I used Good luck Dave (headscarvesbyciara)
  10. UPDATE: THis seems to have resolved itself. I chanegd the FREE SHIPPING option to NOT BE FREE SHIPPING with the slider in the backoffice ( A bit conter intuative) I then set a range with lower and upper limits from £50 - £1000000 (wishful thinking!!lol) It now works exactly as I intended So I am a bit confused as to what the FREE SHipping setting does, but hope this help someone else
  11. Did you get a solution for this. I need the same thing almost: My requirement is: I have a size attribute ( currently set as radio because I think it looks better than a select box (the options are standard and custom measurement) If someone selects custom measurement (and only of they select it, so not appearing by default), Ideally I would like the customisation text box I have set in backend under product customisations) to appear just above the add to cart button on the product page . I don't mind if the user has to press a 'save' button before they add the newly customised product to their cart but it would be better from a usablity point of view if they did not have to make multiple clicks!! (I have read in other parts of the forum people have edited product.tpl and moved code to show product customisations text boxes above add to cart button) but wonder if someone could talk me through the whole process of making customisation text box only appear above add to cart button when someone selects the custom measurement radio button attribute? and making sure the contents of the customisation text box gets send with order I am using 1.6.0.6 and default bootstrap theme Thanks D
  12. I have same problem with the show all feature. There must be some conflict between the show n per page and show all functionality? Any fixes yet? Prestashop 1.6.0.6
×
×
  • Create New...