Author Topic: Remove generic price block on product page  (Read 3051 times)

Offline atomicevents

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Remove generic price block on product page
« on: January 29, 2018, 01:39:23 AM »
Hello.

I am busy setting up an online stationary company.
Alot of my pricing is presented as options, as you get many different variables for most stationary products.

My question is how do you remove the default product price from the product listing (ordering) screen, so that there are only the price options available?

Any help would be greatly appreciated.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Remove generic price block on product page
« Reply #1 on: January 30, 2018, 08:58:34 AM »
You will need to edit controller to select options price values from database and listing template file to show option prices.

Controller for products in categories:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/product/category.php

Template for product listing and section with the price:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/product/product_listing.tpl#L83

If you, just need to remove the price, you can only edit last file.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod