MattR
-
Posts
21 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by MattR
-
-
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.
-
I didn't know there was a 1.2 to be honest!
-
I'm on 1.1 so I can't help, sorry.
-
Looks very nice!
There's project for me on a rainy day.
-
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.
- 1
- 2
-
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?
-
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.
- 1
- 1
-
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!
-
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?
-
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
-
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?
-
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}
-
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>
-
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}
-
Ah okay thanks! I'm always learning 😊
-
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?
-
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! 😅
-
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
-
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 😅)
-
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.
Module Images Deleted after update
in Technical help
Posted
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.