Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

MattR

Members
  • Content Count

    14
  • Joined

  • Last visited

  • Days Won

    1

MattR last won the day on November 15

MattR had the most liked content!

Community Reputation

1 Neutral

Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. If anybody is interested - I've got the mobile page score up to mid 50s. My OCD is calming... I disabled the Paypal module on mobile. I would rather not have done this but the Javascript (even the minified version) is a huge drain. I don't know why it loads on every page? Stripe doesn't so maybe there is a fix? I also added <link rel='preload' href="https://bsparkle.co.uk/themes/niara/fonts/font-awesome/fontawesome-webfont.woff2?v=4.6.3" as="font" type="font/woff" crossorigin> </head> in the header.tpl - I doubt it made a significant difference but Google liked it. I also changed the social widgets around and turned some off on mobile.
  2. Thanks Petr I agree it doesn't feel slow but the OCD in me want's it to be better and apparently Google is putting more weight on these in the future so didn't want to be penalised. I agree there are plenty of other things I can be looking at targeting though!
  3. I'm getting page speed scores of around 40 on mobile and 95 on desktop. Has anybody got any top tips to improve the mobile score? Niara theme - CCC are all yes, server side and full page cache (all red apart from block cart) makes no real change but I'm on shared hosting so no using Redis. I've tried LScache but it broke the cart and there weren't any improvements anyway. Cloudfare free CDN - no improvement Images are Webp or significantly compressed. Any things I can do for quick gains? Website
  4. MattR

    AWIN integration

    Just an update on this if anybody wants to do the same AWIN integration. Adding the required items to the data layer on the "order complete" page was too much for me. I took the lazy option and used the Google Tag Manager by Reactioncode. That made all of the data available in Google Tag Manager and it was relatively simple to send that data to AWIN. If anyone wants a step by step just let me know. Thanks Yaniv for all your help! Even if I didn't get the solution in the way I'd planned it made me realise it was beyond my ability at the moment. Matt
  5. MattR

    Site error

    Hi In Cpanel I'm getting the following error and can't login from a specific computer. (Fixed with O N / O F F switch and turning off VPN) 2020-10-26 10:02:07.551565 [NOTICE] [15446] [IP Address-13#APVH_bsparkle.co.uk:443] [STDERR] PHP Notice: Trying to access array offset on value of type null in /home/bsparkle/public_html/classes/ErrorHandler.php on line 181 Anyone any ideas?
  6. MattR

    AWIN integration

    This is really stretching my elementary knowledge 😂 So this is where I'm at. I added - currency.iso_code; into the Custom code, "add extra JS to the order confirmation page section" So hopefully that will take care of that? Unfortunately vouchers used isn't an available variable. The voucher codes used - do you mean I need to add a few lines to OrderConfirmationController.php to get the vouchers used? Thanks for your help, it's really appreciated! <!—Image Pixel - Mandatory --> <img src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=00000&amount={$order->total_paid_tax_incl}&cr={currency.iso_code}&ref={$order->id_order}&parts=DEFAULT:{$order->total_paid_tax_incl}&vc={#getOrderedCartRulesIds#}&ch=aw&testmode=0" border="0" width="0" height="0"> <!-- JavaScript Tracking - Mandatory --> {literal} <script type="text/javascript"> //<![CDATA[ /*** Do not change ***/ var AWIN = {}; AWIN.Tracking = {}; AWIN.Tracking.Sale = {}; /*** Set your transaction parameters ***/ AWIN.Tracking.Sale.amount = total_paid_tax_incl; AWIN.Tracking.Sale.orderRef = id_order; AWIN.Tracking.Sale.parts = 'DEFAULT: total_paid_tax_incl'; AWIN.Tracking.Sale.voucher = getOrderedCartRulesIds; AWIN.Tracking.Sale.currency = currency.iso_code; AWIN.Tracking.Sale.test = "0"; AWIN.Tracking.Sale.channel = "aw"; //]]> </script> {/literal}
  7. MattR

    AWIN integration

    Thanks Yaniv! Is this okay? 😬 <!—Image Pixel - Mandatory --> <img src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=00000&amount=total_paid_tax_incl&cr=isoCodeNum&ref=id_order&parts=DEFAULT:total_paid_tax_incl&vc=getOrderedCartRulesIds&ch=aw&testmode=0" border="0" width="0" height="0"> <!-- JavaScript Tracking - Mandatory --> <script type="text/javascript"> //<![CDATA[ /*** Do not change ***/ var AWIN = {}; AWIN.Tracking = {}; AWIN.Tracking.Sale = {}; /*** Set your transaction parameters ***/ AWIN.Tracking.Sale.amount = total_paid_tax_incl; AWIN.Tracking.Sale.orderRef = id_order; AWIN.Tracking.Sale.parts = DEFAULT: total_paid_tax_incl; AWIN.Tracking.Sale.voucher = getOrderedCartRulesIds; AWIN.Tracking.Sale.currency = isoCodeNum; AWIN.Tracking.Sale.test = "0"; AWIN.Tracking.Sale.channel = "aw"; //]]> </script>
  8. MattR

    AWIN integration

    As I'm a kindergarten level coder, could someone let me know if there are any mistakes in the tags I've added to the AWIN code which I guess should be inserted in order-confirmation.tpl? {literal} <!—Image Pixel - Mandatory --> <img src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant={{advertiserId}}&amount={{order_subtotal}}&cr={{currency_code}}&ref={{order_ref}}&parts=DEFAULT:{{sale_amount}}&vc={{voucher_code}}&ch=aw&testmode=0" border="0" width="0" height="0"> <!-- JavaScript Tracking - Mandatory --> <script type="text/javascript"> //<![CDATA[ /*** Do not change ***/ var AWIN = {}; AWIN.Tracking = {}; AWIN.Tracking.Sale = {}; /*** Set your transaction parameters ***/ AWIN.Tracking.Sale.amount = "<?php echo $getOrderTotal>"; AWIN.Tracking.Sale.orderRef = "<?php echo $id_order>"; AWIN.Tracking.Sale.parts = "DEFAULT:<?php echo $getOrderTotal>"; AWIN.Tracking.Sale.voucher = "<?php echo $getOrderedCartRulesIds>"; AWIN.Tracking.Sale.currency = "<?php echo $isoCodeNum>"; AWIN.Tracking.Sale.test = "0"; AWIN.Tracking.Sale.channel = "aw"; //]]> </script> {/literal}
  9. MattR

    Sendcloud module

    Ah okay thanks! I'm always learning 😊
  10. MattR

    Sendcloud module

    Sendcloud have just started in the UK today and I was planning to give them a try. Unfortunately the download link on the Thirtybees modules store is broken and I can't get the zip from Github to install - It says module is "successfully downloaded" in module admin however it doesn't appear. Has anyone got a solution?
  11. No, there is no whitespace there before entry. I think their device just auto-filling the email with a trailing space. I assume I could adjust validate.js but then it would throw up email address not valid to the customer? Would the better way be to just trim the whitespaces? I'm way beyond my capabilities here! 😅
  12. Hi When a customer checks out as a Guest no emails are sent to them. Even when I manually "resend email" on the order status page I get an error that the email was unable to send. Has anyone experienced this or know of a fix, other than turning off guest checkout? I've just realised that it was a completely different reason. Coincidentally all guest checkouts had a whitespace after their email - removing that in the customer details allowed the email to be manually sent. Is there a way to automatically ignore spaces after an email address to allow it to send? Thanks
  13. Thanks for the info. That dreaded todo list. It never seems to get shorter... It is a feature i'd certainly pay for (when my products have enough reviews 😅)
  14. I've seen it's possible to make modifications to sort by top selling... but has anyone managed to sort products by Revws rating? It's something I think would be a great feature.
×
×
  • Create New...