Jump to content
thirty bees forum

Recommended Posts

  • Replies 67
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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).

Posted

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} ```

Posted

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}

Posted

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!

Posted

@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).

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...