View Single Post
  #1  
Old 05-22-2017, 12:00 PM
admin5153's Avatar
admin5153 admin5153 is offline
 
Join Date: Apr 2017
Posts: 0
Default Find product ID to hide add to bag button

Hello I would like hide the "ADD TO BAG" button
by the page of certain products only, I've read some posts
who explain it, this is the actual script who was suggested:

div.ecwid-productBrowser-ProductPage-XXXXXX div.ecwid-AddToBagButton {
display:none;
}

Where XXXXXX should be my product ID, I used this code but
the "add to bag" button is keeping show, I wanna ask is maybe the code
wrong or I just didn't enter the correct ID?
Going in my product page I get this url:

http://www.mywebsite.com/#!/Leaf-T-S...613/category=0

ID should be 84877613 right?
but if I put the following in my custom CSS it still show..

div.ecwid-productBrowser-ProductPage-84877613 div.ecwid-AddToBagButton {
display:none;
}


I really need help..
Ivan