Author Topic: Solved: How do I make a Product with no initial price showing  (Read 7895 times)

Offline BDLG

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
    • BDL Graphics
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!
« Last Edit: July 02, 2021, 04:43:21 PM by BDLG »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5987
  • Karma: +284/-2
    • View Profile
Re: How do I make a Product with no initial price showing
« Reply #1 on: July 02, 2021, 01:06:26 AM »
Hello.
You can hide it with CSS
Code: [Select]
.productpageprice.jumbotron {
    display: none;
}

Offline BDLG

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
    • BDL Graphics
Re: How do I make a Product with no initial price showing
« Reply #2 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
« Last Edit: July 02, 2021, 04:42:49 PM by BDLG »

Offline Mohammad Nabil

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Solved: How do I make a Product with no initial price showing
« Reply #3 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5987
  • Karma: +284/-2
    • View Profile
Re: Solved: How do I make a Product with no initial price showing
« Reply #4 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

Offline Mohammad Nabil

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Solved: How do I make a Product with no initial price showing
« Reply #5 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 !

Offline BDLG

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
    • BDL Graphics
Re: Solved: How do I make a Product with no initial price showing
« Reply #6 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;
}




 

Powered by SMFPacks Social Login Mod