Author Topic: Modifying the price display on default theme  (Read 3724 times)

Offline zoltan421

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Modifying the price display on default theme
« on: May 15, 2017, 03:31:07 PM »
Ok, so first off I'm sorry the title couldn't be more specific as I don't really know what to call this.
Is there any way to either change the price display on the catalogue (and featured) so it would display text in front of it for all cases or just globaly turn off the price display on the catalogue(and featured) displays, but leave it the same on the item pages?


Edit: I have since found the location of the code to modify this- for reference it is stored in 3 locations:
Storefront->view->default->template-> blocks->product list.tpl
Storefront->view->default->template->page->product->product.tpl
Storefront->view->default->template->page->product->product listing.tpl
« Last Edit: May 15, 2017, 07:16:31 PM by zoltan421 »

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Modifying the price display on default theme
« Reply #1 on: May 18, 2017, 02:21:44 PM »
Globally, you can only hide prices for non-registrered customers.
Look for "Login Display Prices" here:
http://docs.abantecart.com/pages/settings/checkout.html

You are correct about template files.

You need to edit these files to edit the price
Storefront->view->default->template-> blocks->product list.tpl
Storefront->view->default->template->page->product->product listing.tpl

and leave this one alone
Storefront->view->default->template->page->product->product.tpl

“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod