Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: How to change product cost from 0.0 to 'Free'?  (Read 4240 times)

Offline user88

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +16/-0
    • View Profile
    • Visit my website
How to change product cost from 0.0 to 'Free'?
« on: May 20, 2018, 05:58:46 PM »
I have some free downloads that I would like to make available on my store. Right now the product and category page shows price as '$0.00' for these downloads

Would anyone know the coding required to change this to show 'Free' instead of '$0.00'? Care to share it?

Thanks a lot.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile

Offline user88

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +16/-0
    • View Profile
    • Visit my website
Re: How to change product cost from 0.0 to 'Free'?
« Reply #2 on: May 21, 2018, 02:56:18 PM »
Seems like I need to work on my searching skills. I tried several searches without success.

Thanks for kindly pointing me in the right direction.

Offline user88

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +16/-0
    • View Profile
    • Visit my website
Re: How to change product cost from 0.0 to 'Free'?
« Reply #3 on: May 22, 2018, 05:35:48 PM »
fyi - after trying solution:

To display the change in the products page, one needs to change product.tpl as well (/default/template/pages/product/..).

To display the change in the featured box, one needs to change product_list.tpl (/default/template/block/..)

Hope this helps anyone else trying to make changes like this.

Offline jaja

  • Newbie
  • *
  • Posts: 33
  • Karma: +10/-0
    • View Profile
Re: How to change product cost from 0.0 to 'Free'?
« Reply #4 on: May 23, 2018, 02:00:23 AM »
thank you

 

Powered by SMFPacks Social Login Mod