Jump to content
thirty bees forum

MattR

Trusted Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    2

MattR last won the day on January 23 2021

MattR had the most liked content!

1 Follower

Information

Recent Profile Visitors

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

MattR's Achievements

Newbie

Newbie (1/14)

  • Reacting Well Rare
  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later

Recent Badges

5

Reputation

  1. Changing homeslider.tpl line 11 in my theme from - src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/images/`$slide.image|escape:'htmlall':'UTF-8'`")} to src="{$link->getMediaLink("`$smarty.const`/img/homeslider/`$slide.image|escape:'htmlall':'UTF-8'`")} fixed it.
  2. After I updated, the module displays images in a different location to where it uploaded them. For now I have manually uploaded images to /modules/homeslider/images/ which didn't exist until I created it. Then change the uploaded files to the name found when I inspect the image source on the website.
  3. MattR

    Hi Rena

    In the end I bought the Premium Google Tag Manager to send the data to AWIN. It was beyond my ability to do it myself

    1. Show previous comments  2 more
    2. rena

      rena

      hi MattR

      plz can you help me with awin intégration i need to know if i must use google tag manager or awin prestashop plugin 

    3. rena

      rena

      can you help me plz

    4. rena

      rena

      Hi MattR  any help plz

  4. I didn't know there was a 1.2 to be honest!
  5. I'm on 1.1 so I can't help, sorry.
  6. Looks very nice! There's project for me on a rainy day.
  7. 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.
  8. 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?
  9. 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.
  10. 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!
  11. 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
  12. 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
  13. 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?
  14. 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}
  15. 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>
×
×
  • Create New...