The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #21  
Old 06-18-2012, 02:39 PM
Eugene Rimmer's Avatar
Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default


Quote:
Originally Posted by SSmeredith View Post
I don't think this is working...

http://sipsupply.com/temdevb/sip-sto...oduct=10181377

I tested with both 1 category and 2 categories added, and still no luck.
Sorry, there was another update to the code. You need to republish the new version once again
  #22  
Old 06-18-2012, 02:45 PM
SSmeredith's Avatar
SSmeredith SSmeredith is offline
Member
 
Join Date: Jan 2012
Posts: 40
Default

YES!!!!

Do you have one of those little smilies doing backflips that I can post here?

Eugene - you are the best!! Thanks for not quitting on me and this post.

Take a look:

http://sipsupply.com/temdevb/sip-sto...oduct=10181502

With warm regards,

Meredith
  #23  
Old 06-21-2012, 10:42 PM
Sturtevants's Avatar
Sturtevants Sturtevants is offline
Junior Member
 
Join Date: Jun 2012
Posts: 16
Default Remove 0.00 from specific category

Hello - I am also trying to do this on my page...

I didn't see where to find the category ID number so I just tried the category name. Where can I find the ID?

Thanks!
  #24  
Old 06-21-2012, 10:48 PM
SSmeredith's Avatar
SSmeredith SSmeredith is offline
Member
 
Join Date: Jan 2012
Posts: 40
Default

Pay if Forward...here you go:


-Open your store.
-Go to the necessary product or category.
-Check the address bar of your browser where page URL is displayed. The number after "category=" or "product=" text is the ID you need.


Ref: http://kb.ecwid.com/w/page/23947812/...0or%20category
The Following User Says Thank You to SSmeredith For This Useful Post:
Maya (06-22-2012)
  #25  
Old 06-22-2012, 07:10 AM
Alex Torre's Avatar
Alex Torre Alex Torre is offline
 
Join Date: Jul 2011
Posts: 8
Default

Hi all, i've inserted your code for hide price with value 0. That's all ok.
It's possible hide the price in the grid view of the categories?

This is an example:

http://expoitalyonline.it/de-rossi-b...=0&sort=normal

regards
Alex
  #26  
Old 06-22-2012, 11:14 AM
SSmeredith's Avatar
SSmeredith SSmeredith is offline
Member
 
Join Date: Jan 2012
Posts: 40
Default

This hides ALL prices, not just "0" I don't know the code for 0 only on category pages.

Code:
div.ecwid-productBrowser-productsGrid-productBottomFragment div.ecwid-productBrowser-price, 
div.ecwid-productBrowser-productsList-details div.ecwid-productBrowser-price,
div.ecwid-productBrowser-productsTable div.ecwid-productBrowser-price {
    display: none;
  #27  
Old 06-27-2012, 05:59 AM
Maya's Avatar
Maya Maya is offline
Ecwid Team
 
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876
Default

Quote:
Originally Posted by Alex Torre View Post
Hi all, i've inserted your code for hide price with value 0. That's all ok.
It's possible hide the price in the grid view of the categories?

This is an example:

http://expoitalyonline.it/de-rossi-b...=0&sort=normal

regards
Alex
Yes, sure. It is totally possible with Ecwid.

In order to hide prices inside particular category you can use following code in your custom CSS theme:
Code:
.ecwid-productBrowser-CategoryPage-XXXXXX div.ecwid-productBrowser-productsGrid-productBottomFragment div.ecwid-productBrowser-price {
display: none;
}
where XXXXXX should be changed with real category ID, for which prices should be hidden.

However, if you want to hide all zero prices for products, which can be placed in different categories, you will need to develop special script using our Javascript API, which will search price element through the page and hide it, if price is 0.

Code:
Ecwid.OnPageLoaded.add(function(page){
   if (page.type == "CATEGORY") {
       $('.ecwid-productBrowser-price').each(function(){
           if ($(this).text() == Ecwid.formatCurrency(0)) {
                 $(this).hide();
           }
         
      });
   }
})
__________________
Maya N., Ecwid Team

------------------
Welcome to our new Help Center!
  #28  
Old 07-30-2012, 05:48 PM
Redwood's Avatar
Redwood Redwood is offline
Member
 
Join Date: Oct 2010
Posts: 33
Default

I need the exact same functionality on a site I'm working on. I copied and pasted the code as instructed but it is not working. Any clue why?

Last edited by Redwood; 07-30-2012 at 05:53 PM.
  #29  
Old 08-07-2012, 09:48 AM
TORIS ORG's Avatar
TORIS ORG TORIS ORG is offline
Junior Member
 
Join Date: Jul 2012
Posts: 13
Default

When trying to implement this script, the entire product browser disappears—and here's where it gets odd: I can still roll over links, and see my cursor changes.

I can't use this script as is, since my store is live…
  #30  
Old 08-08-2012, 10:24 AM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

Quote:
Originally Posted by TORIS ORG View Post
When trying to implement this script, the entire product browser disappears—and here's where it gets odd: I can still roll over links, and see my cursor changes.

I can't use this script as is, since my store is live…
What is the URL address of the page where we can see that?
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:46 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.