AbanteCart Community

eCommerce construction => How-to questions => Topic started by: BDLG on July 01, 2021, 02:58:50 PM

Title: Solved: How do I make a Product with no initial price showing
Post by: BDLG on July 01, 2021, 02:58:50 PM
Hi all, I haven't used Abantecart for many years, I love abantecart and have missed it!.
I'm setting up a product for business cards. I have them in sets of 50, 100 and 250. I want the customer to select which one (50, 100, 250) from the drop down that I made. This is all fine except that I would like to remove the box that shows the product as $0.00. Is this possible (I assume it is in code somewhere since I cannot find it in the layout.)Please see the attachment for detail. Thank you in advance!
Title: Re: How do I make a Product with no initial price showing
Post by: Basara on July 02, 2021, 01:06:26 AM
Hello.
You can hide it with CSS
Code: [Select]
.productpageprice.jumbotron {
    display: none;
}
Title: Re: How do I make a Product with no initial price showing
Post by: BDLG on July 02, 2021, 10:50:12 AM
Thank you. I will try that. I was looking for something like that in my cpanel, but for some reason I cannot find it.

UPDATE: I was able to add that code to the style.css and it worked. Thank you again
Title: Re: Solved: How do I make a Product with no initial price showing
Post by: Mohammad Nabil on October 11, 2021, 12:38:38 PM
please wher can i find this code ?
i tested on firefox insepector and worked .
but cannot find it in file manager , i searched style.css , still cannot find
note: i knok very little about html and css
Title: Re: Solved: How do I make a Product with no initial price showing
Post by: Basara on October 12, 2021, 03:30:43 AM
please wher can i find this code ?
i tested on firefox insepector and worked .
but cannot find it in file manager , i searched style.css , still cannot find
note: i knok very little about html and css

Hello. It is in your template folder
For default template https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/stylesheet/style.css
Title: Re: Solved: How do I make a Product with no initial price showing
Post by: Mohammad Nabil on October 12, 2021, 07:05:44 AM
thank you
i mean where can i find this code in style.css file
i searched for " productpageprice.jumbotron" no results !
Title: Re: Solved: How do I make a Product with no initial price showing
Post by: BDLG on October 12, 2021, 04:05:32 PM
,productpageprice.jumbotron is not on the style.css.  You will need to all of this to the style.css:

.productpageprice.jumbotron {
    display: none;
}