• Resolved thisismyalterego

    (@thisismyalterego)


    Is it somehow possible to only list auctions that allow bids and hide all items that have a fixed-price?

    I did a “quick and dirty” workaround for this in the meantime by hiding the items via jQuery:

    $("td.bids").each(function(){
    	if( $(this).text() == "-" ){
    		$(this).parent("tr").hide();
    	}
    });

    Maybe this helps someone with the same “problem”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe

    (@morehawes)

    Hi thisismyalterego,

    Thanks for reaching out. Being able to filter items by listing type (auction/buy it now) is in the pipeline and I hope to have this ready in the near future. At the moment, using JavaScript/jQuery as you have done is currently the only way to achieve this, which I realise can definitely could be improved.

    As a side note, this can also be achieved for other themes by using a slightly modified version of your jQuery script. For example, hiding buy it now items for the Responsive theme can be achieved like this:

    //Iterate over the items
    $('#auction-nudge-items .an-view').each(function() {
      //If the BIN text is present
      if($(this).html().indexOf('Buy It Now') != -1) {
        //Hide the item
        $(this).parents('.an-item').hide();            
      }
    });

    Once the new filter is implemented, using JavaScript/jQuery to hide these items will not be required.

    I will mark this support topic as ‘resolved’, as using JavaScript to extend the functionality of Auction Nudge is encouraged, but I would be interested to hear from other users who have found interesting ways of achieving this sort of thing.

    For users wanting to read more about using JavaScript to interact with Auction Nudge, the following links are a great place to start:

    https://www.auctionnudge.com/customize
    https://www.auctionnudge.com/help

    I will be sure to update this topic once the new filter has been added.

    Thanks for raising this.

    Joe

    Plugin Author Joe

    (@morehawes)

    Just to update on this, as of version 5.0 of the plugin there is a Listing Type filter which allows you to choose to only display items listed as either Auction or Buy It Now.

    Auction listings that have the Buy It Now option available will be displayed both when filtering by Auction and Buy It Now.

    Joe

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide fixed-price items?’ is closed to new replies.