Jump to content
thirty bees forum

Spend X to get free shipping module


SLiCK_303

Recommended Posts

  • Replies 67
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Link to comment
Share on other sites

it should be... ``` {* * Get Free Shipping PrestaShop module. * * @package gmgetfreeshipping * @author Dariusz Tryba (contact@greenmousestudio.com) * @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} ```

Link to comment
Share on other sites

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 (contact@greenmousestudio.com) * @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}

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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