Actually those template changes utilize data already present in Prestashop, nothing added by the module. All that this module does is displaying the same info under the cart. So if you want to optimize those messages, you need to work on the template.
Are you using my getfreeshipping port, or the authors original, gmgetfreeshipping? Nevermind, I can tell by the logo you are using the original. :) You need to copy the /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl, to the same path but in you modules folder. Then open gmgetfreeshipping.tpl, and add a after the last
no there is already a /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl. you need to copy that file into the same path, but in your theme. So, if you are using the default theme, there should be a /themes/community-theme-default/modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl file
I don't know how many ways I can say this. Copy /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl. you need to copy that file into the same path, but in your theme. So, if you are using the default theme, there should be a /themes/Transformer/modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl file
Recommended Posts
Top Posters In This Topic
33
26
6
3
Popular Days
Nov 8
65
Oct 31
2
Nov 1
1
Top Posters In This Topic
alwayspaws 33 posts
SLiCK_303 26 posts
Daresh 6 posts
wakabayashi 3 posts
Popular Days
Nov 8 2017
65 posts
Oct 31 2017
2 posts
Nov 1 2017
1 post
SLiCK_303
Yeah it's a great module, as long as you have free shipping set > 0, if not, it screws up the cart dropdown
Daresh
Actually those template changes utilize data already present in Prestashop, nothing added by the module. All that this module does is displaying the same info under the cart. So if you want to optimize those messages, you need to work on the template.
alwayspaws
Here is my version of how to do it from a non-programmer viewpoint and with help from my theme developer:
Transformer theme (PS 1.6 version)
How to edit the text and how to move the "spend another $xx.xx to get free shipping" to go under the cart total:
/public_html/modules/gmgetfreeshipping/views/templates/hook
Back up and then edit gmgetfreeshipping.tpl as you wish.
I changed it to show: Spend $xx.xx more for Free Shipping!
The text was originally left-justified (all the to the left) so for the Transformer theme, Jonny Li said:
Do these two steps:
HOOKSHOPPINGCART .blockgetfree_shipping{text-align:right;}
In other words: slide the whole "get free shipping" module up in the positions for displayShoppingCartFooter (using the arrows did not work for me).
alwayspaws
@wakabayashi since you helped me move my Amazon Pay button once before, can you please help with this? Or @Daresh can you please help with this?
I need a space or two between "spend XX for free shipping" and the amazon pay button:
SLiCK_303
Are you using my getfreeshipping port, or the authors original, gmgetfreeshipping? Nevermind, I can tell by the logo you are using the original. :) You need to copy the /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl, to the same path but in youmodules folder. Then open gmgetfreeshipping.tpl, and add a
.after the last
alwayspaws
@SLiCK_303 I used the original since I already had it before and didn't want to get confused.
I'll move this: /public_html/modules/gmgetfreeshipping
to /public_html/themes/transformer/modules
Right?
SLiCK_303
no there is already a /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl. you need to copy that file into the same path, but in your theme. So, if you are using the default theme, there should be a /themes/community-theme-default/modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl file
alwayspaws
No, there is no gmgetfreeshipping at all in the Transformer theme, which is why I just updated in /public_html/modules/gmgetfreeshipping
SLiCK_303
copy it there...
SLiCK_303
not /modules/gmgetfreeshipping...just that one file
alwayspaws
No folder there at all
SLiCK_303
I don't know how many ways I can say this. Copy /modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl. you need to copy that file into the same path, but in your theme. So, if you are using the default theme, there should be a /themes/Transformer/modules/gmgetfreeshipping/views/templates/hook/gmgetfreeshipping.tpl file
alwayspaws
OK, in other words, keep the /public_html/modules/gmgetfreeshipping folder where it is, but just copy the one template file?
SLiCK_303
right
alwayspaws
ok it's going to be all by itself there. poor thing.
SLiCK_303
hehe
SLiCK_303
it needs to be in that whole path though, not in the themes root
alwayspaws
In this path: /public_html/themes/transformer/modules right?
SLiCK_303
but keep going...it needs to be in /themes/Transformer/modules/gmgetfreeshipping/views/templates/hook/
alwayspaws
why can't I copy the whole gmfreeshipping into there? I don't want it get overwritten I'm telling you there is no folder for gmfreeshipping.
SLiCK_303
no theres not, you need to make that folder path, and copy that single file into it
alwayspaws
Would have been easier if you said that in the first place. :) or maybe you did. thanks! Doing that now.
SLiCK_303
you def dont want the whole /modules/gmgetfreeshipping into your /themes/transformers/modules folder
SLiCK_303
hehehe. i thought i did