alwayspaws Posted November 8, 2017 Posted November 8, 2017 I have this. Just to verify, I'm supposed to create a folder called: gmgetfreeshipping/views/templates/hook/ in there?
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 right...and put gmgetfreeshipping.tpl into it
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 if you wanna make things more complicated, you need to take /modules/gmgetfreeshipping/index.php and copy that into each of the folders you made. so /themes/transformer/modules/gmgetfreeshipping should have one, views should have one, templates should have one, hook should have one.....(every folder in /themes/Transformer/modules/gmgetfreeshipping/views/templates/hook/ should have an index.php file in it).
alwayspaws Posted November 8, 2017 Posted November 8, 2017 is this the right code because it didn't create a space: {l s='more for Free Shipping!' mod='gmgetfreeshipping'}
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 it should be... ``` {* * Get Free Shipping PrestaShop module. * * @package gmgetfreeshipping * @author Dariusz Tryba ([email protected]) * @copyright Copyright (c) Green Mouse Studio (http://www.greenmousestudio.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} {if $remaining_to_spend > 0} {l s='Spend another' mod='gmgetfreeshipping'} {convertPrice price=$remaining_to_spend} {l s='to get free shipping for your order!' mod='gmgetfreeshipping'} {/if} ```
alwayspaws Posted November 8, 2017 Posted November 8, 2017 It's still not working. This code looks like yours but with my preferred way of saying it: {* * Get Free Shipping PrestaShop module. * * @package gmgetfreeshipping * @author Dariusz Tryba ([email protected]) * @copyright Copyright (c) Green Mouse Studio (http://www.greenmousestudio.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} {if $remaining_to_spend > 0} {l s='Spend' mod='gmgetfreeshipping'} {convertPrice price=$remaining_to_spend} {l s='more for Free Shipping!' mod='gmgetfreeshipping'} {/if}
alwayspaws Posted November 8, 2017 Posted November 8, 2017 @slick_303 said in Spend X to get free shipping module: try adding another to it Didn't see that until just now. Will try it. Thanks!
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 since you are using a css to make it go right, things might work differently, I dunno
alwayspaws Posted November 8, 2017 Posted November 8, 2017 Well, I'll try the extra just in case. I also have custom codes from the author. It's time for us to take a break! Me, anyway, after I try the extra Thanks for your time!
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 np..good luck. maybe someone smarter than me can help ya. ;)
alwayspaws Posted November 8, 2017 Posted November 8, 2017 It didn't work. I'll ask @Daresh but thank you, @SLiCK_303 :)
alwayspaws Posted November 8, 2017 Posted November 8, 2017 @daresh said in Spend X to get free shipping module: 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 able to tell me how to move the "spend X to get free shipping" sentence so that there is a space in between it and my Amazon button? I included your name in the Screenshot above. (Sorry for the trouble for a free module).
alwayspaws Posted November 8, 2017 Posted November 8, 2017 @Daresh Hi. I hope you mean a product link https://www.alwayspaws.com/dog-clothes/dog-dress-with-birthday-girl-rhinestones-and-crowns Thank you!
Daresh Posted November 8, 2017 Posted November 8, 2017 I see no free shipping message there. And "to be determined" after adding the second product to the cart.
alwayspaws Posted November 8, 2017 Posted November 8, 2017 This is what I see for each of my products when I click on my shopping cart and checkout.
alwayspaws Posted November 8, 2017 Posted November 8, 2017 @Daresh Sorry it’s so big but I’m on my iPhone now. Had to get off the desktop for a while.
SLiCK_303 Posted November 8, 2017 Author Posted November 8, 2017 i think he wants the free shipping comment and the amazon pay button, on two different lines
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now