Page 38 of 74 FirstFirst ... 28363738394048 ... LastLast
Results 371 to 380 of 740
  1. #371
    Join Date
    Dec 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Correction to the abowe.
    I have a mod in an other file, so the abowe correction will probably not work for you. Sorry ....

    So use this in stead. It should work wheather you have the product with or without tax.

    In includes/modules/pages/product_auction_info/header_php.php
    fine about between lines 20 and 25
    PHP Code:
    require(DIR_WS_MODULES 'require_languages.php');
    $process false;
    if (isset(
    $_POST['action']) && ($_POST['action'] == 'place_bid')) {
      
    $process true;
      
    $auction_bid zen_db_prepare_input($_POST['auction_bid_amount']);
      
    $auction_bid zen_round($auction_bid,  $currencies->currencies[$_SESSION['currency']]['decimal_places']);
      
    $auction_price  zen_db_prepare_input($_POST['auction_price']);
      
    $auction_current_bid  zen_db_prepare_input($_POST['auction_current_bid']);
      
    $auction_current_bid = ($auction_current_bid 0) ? $auction_current_bid 0.01;
      
    $products_id zen_db_prepare_input($_GET['products_id']); 
    Change to:
    PHP Code:
    require(DIR_WS_MODULES 'require_languages.php');
    $process false;

        
    $sql "select p.products_id,
                      p.products_tax_class_id
               from   " 
    TABLE_PRODUCTS " p, " TABLE_PRODUCTS_DESCRIPTION " pd, " TABLE_PRODUCT_AUCTION_EXTRA " pae
               where  p.products_status = '1'
               and    p.products_id = '" 
    . (int)$_GET['products_id'] . "'
               and    pd.products_id = p.products_id and p.products_id = pae.products_id
               and    pd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'";

        
    $product_info $db->Execute($sql);
    $site_tax zen_get_tax_rate($product_info->fields['products_tax_class_id']);

    if (isset(
    $_POST['action']) && ($_POST['action'] == 'place_bid')) {
      
    $process true;
      
    $auction_bid zen_db_prepare_input($_POST['auction_bid_amount']);
      
    $auction_bid zen_round($auction_bid,  $currencies->currencies[$_SESSION['currency']]['decimal_places']);
      
    $auction_price  zen_db_prepare_input($_POST['auction_price']);
      
    $auction_current_bid  zen_db_prepare_input($_POST['auction_current_bid']);
      
    $auction_current_bid = ($auction_current_bid 0) ? $auction_current_bid 0.01;
      
    $products_id zen_db_prepare_input($_GET['products_id']);
       if (
    $site_tax 0) {
      
    $auction_bid $auction_bid "100" sprintf("1".$site_tax);
       } 

  2. #372
    Join Date
    Dec 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Quote Originally Posted by davewest View Post
    items 2 - 5 are done in the next release.
    Originally Posted by Toft
    Hi
    I am also working on a few other modifications:

    1.) Include the bids in the customers controll panel, so they can see what products they have bids on.

    2.) Modify the "new products" on front page, so auction products show days, hours and minutes left until the auction ends.

    3.) Modify admin, so admin can see who bidded on which product.

    4.) Show in admin which auctions ends without winner or didnt reach the reserve price.

    5.) Posibility for admin to reset auctions that didnt reach reserve price or where the winner dint buy the product.

    If anyone already made any of this modifications, please let me know ......... would be nice to save some work

    Thanks
    Did not get any answer about "next release" and I could not wait.
    So I have done them all and more .......
    I might post them on my own blog, but need to write english language files first. Have not altered the database.

  3. #373
    Join Date
    Feb 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Auction Product Type

    @ Toft

    I would like to have the modifications that you have done to the mod, could you please upload the file or post a link to it ?

    Thank You

  4. #374
    Join Date
    Feb 2008
    Location
    Flint, MI
    Posts
    14
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Toft

    I would also like to get the mods you created, to improve the auction mod. If it would be possible to get a copy of the mods, it would be greatly appreciated.

    Thanks!
    mjcrabill
    Computers, tech support, website development and maintenance. http://www.crab4web.com

  5. #375
    Join Date
    Dec 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Auction Product Type

    Hi, both of you.
    I havent got the time to do the language files. Have just echoed the language right into the files.
    Been to buissy 7/24 with a booking system for hotells to write languagefiles for this.
    I might pm them to you two so you can test them. It could be that the languages are "self explained" even if it is not english.
    - In admin, there is 4 new files that does not overwrite anything.
    - product_auction.php is modified.
    Have also modded Index.pgp so it gives a overwiev over the auctions, customers bids, ongoing auctions, auctions ended without winner, auctions waiting for winner to buy out, all with link to a listing of customers and bids if you want to contact them, and link to each customers.
    Customers.php is also modded so the "box" on the right side in the list over customers, list the auctions that they are involved in, their bids and so on.
    Categories are modded so each auction products show reserve price, highest bid and date for auction end with links to check out more.
    On the front-end there is a few new files so customers, in their account, can see their bids and the products they have bidded on.
    Most of the other "auction files" are modded so they work better and give more information and also so admin gets emails with winners and auctions ended with or without winners.
    New products are modded and have a alternative button for auctions and tell the time until auctions ends
    So there is a lot of language to remove from the scripts and put into language files. I also modded some other things in zencart admin that have to do with normal shopping overvview, invoices and so on, so i have to sit down and sort out the files that only goes for auction products as soon as i get time and also specify what i have done to each files in case somone already modified some of these files.
    I will come back to it as soon as i get my "head over the water" workwise .........
    The customer i did this for now also want a posibility for his customers, for a fee, to put up their own items for auction, so i have to go back to it auction program anyway ..........

    Best regards
    Ole
    I will do my best as soon as i get the time. Right now i have a few unpatient customers waiting for a advanced booking script and a long list of functions and wishes.

  6. #376
    Join Date
    Feb 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Auction Product Type

    @ Toft

    Thank you very much for replying. Will wait until you finish the language files. Best of luck on your "advanced booking script" project.

  7. #377
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Auction Product Type

    I have installed this module. I have tried for 10 minutes and dont know how to add a product as an auction. can someone tell me.

  8. #378
    Join Date
    Feb 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Auction Product Type

    @vandiermen
    For new products, while creating a new product select the product type as auction from the drop down menu. (default will be Product - General).
    For existing products, you can use the convert option in Tools (if my memory is correct) to change existing products to Auction product type.

    Thank You

  9. #379
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Auction Product Type

    [FONT=Verdana]Oh, you select the 'product type' from the drop down before clicking the add product button, I was looking for it when you are in the actual listing page.

    Thanks. [/FONT]

  10. #380
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    help question Re: Auction Product Type

    Is there a way to have a link to display all your auction items across the site?
    display products = only auction

 

 
Page 38 of 74 FirstFirst ... 28363738394048 ... LastLast

Similar Threads

  1. Auction Product type
    By Andreas1211 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Aug 2014, 02:13 PM
  2. Auction Product Type: Can't add a product of the type.
    By sw0rdz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Sep 2009, 02:11 AM
  3. Auction Product Type
    By chinthana in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jun 2009, 10:33 AM
  4. Auction Mod. Product Type
    By wilt in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 15 Feb 2007, 07:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR