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

    19
  • Joined

  • Last visited

  • Days Won

    2

MattR last won the day on January 23

MattR had the most liked content!

Community Reputation

5 Neutral

Information

Recent Profile Visitors

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

  1. I didn't know there was a 1.2 to be honest!
  2. I'm on 1.1 so I can't help, sorry.
  3. Looks very nice! There's project for me on a rainy day.
  4. I've fixed it. I removed , .table-responsive #cart_summary .cart_total_price #cart_voucher from line 1886 (for me). Now it looks like this - .table-responsive .unvisible, .table-responsive thead tr { display: none; } and added .table-responsive #cart_summary > tbody > tr.cart_total_price >.cart_voucher { float: left; border-right: 0; } into line 1929. My knowledge of CSS is terrible but it seems to work.
  5. Thanks for this! I do have one problem though - the voucher section is no longer visible on mobile. Any ideas how to add this in global.css?
  6. 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.
  7. 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!
  8. 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
  9. 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
  10. 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?
  11. 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}
  12. 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>
  13. 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}
  14. MattR

    Sendcloud module

    Ah okay thanks! I'm always learning 😊
  15. 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?
×
×
  • Create New...