+ Reply to Thread
Results 1 to 8 of 8

Thread: Only auction on specific Listing Type

  1. #1

    Only auction on specific Listing Type

    I have a listing type I just want to be able to add auctions to.
    There isn't an option to turn off normal listings in the listing type.

    How can I accomplish this?
    Classifieds Site: Annonssida
    Other Site: SEO

  2. #2
    Rudi, my man, I need you!
    Or just point me in the right direction
    Classifieds Site: Annonssida
    Other Site: SEO

  3. #3
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello Peter

    I didn't get what you need to achieve with the auction feature

  4. #4
    I have a listing type where I just want to use auction from the shopping cart plugin.
    There is an option to turn of standard listing for the whole script but I just want to turn it of for my specific listing type.

    Sk
    Classifieds Site: Annonssida
    Other Site: SEO

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Go to plugins > shoppingCart > models > PriceFormat.php > public static function prepareTabs

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    use the key of your listing type instead of LISTING_TYPE_KEY

  6. #6
    Thank you so much! Works perfect



    Another things to hide.
    When using Auction there is no need to use 'Quantity' and 'Available'

    How can I hide that when using Auction

    Sk
    Last edited by Peter Jonsson; August 27, 2022 at 09:04 PM.
    Classifieds Site: Annonssida
    Other Site: SEO

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Go to static > lib.js

    below the line:

    this.priceFormatTabs = function(mode, isFirst) {

    add:
    Code:
    Only registered members can view the code.

  8. #8
    didn't work, still see quantity.
    And I need to click on "Auction" before available is removed
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread