AbanteCart Community

AbanteCart Development => Customization help => Topic started by: atomicevents on January 29, 2018, 01:39:23 AM

Title: Remove generic price block on product page
Post by: atomicevents 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.
Title: Re: Remove generic price block on product page
Post by: abantecart 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.