Zen Cart Logo
Forums / All Other Contributions/Addons / Auction Product Type

Auction Product Type

Views: 176,919

Results 401 to 420 of 740
10 Aug 2009, 5:44 PM
#401
arrow avatar

arrow

New Zenner

Join Date:
Nov 2007
Location:
Montreal, Qc
Posts:
51
Plugin Contributions:
0

Auction Product Type

I should have given you more details. When I say the button don't appear, I mean that nothing appear in its place either. There is no square with a red "x" that would imply a broken link, there is no "BUTTON_IMAGE_AUCTION_BUY_NOW" written that would suggest a define problem. I checked the page source and saw no code there for a button to appear. By the way, all of this is with the option in Auction Manager turned on.

What I would need is the code that is supposed to display the button. That's where I think my issue is.

11 Aug 2009, 4:37 AM
#402
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

arrow:

I should have given you more details. When I say the button don't appear, I mean that nothing appear in its place either. There is no square with a red "x" that would imply a broken link, there is no "BUTTON_IMAGE_AUCTION_BUY_NOW" written that would suggest a define problem. I checked the page source and saw no code there for a button to appear. By the way, all of this is with the option in Auction Manager turned on.

What I would need is the code that is supposed to display the button. That's where I think my issue is.

Sounds like the file did not upload all the way. You may need to upload tpl_product_auction_info_display.php once more. The following is the full section that deals with displaying the Buy Now button and price. If the full section is not used, you may have problems with it working right.
Lines 176-195

<?php
if (($products_buynow_price > $auction_current_bid) && ($products_buynow_price > 0)) {
  if (AUCTION_INFO_DISPLAY_BUY_NOW == '1') { ?>      

           <div class="productAuction biggerText"><?php echo BUY_NOW_PRICE; ?>  <?php echo $currencies->display_price($products_buynow_price,
                       zen_get_tax_rate($product_info->fields['products_tax_class_id'])); ?> 
             <?php echo ((SHOW_PRODUCT_INFO_IN_CART_QTY == '1' and $_SESSION['cart']->in_cart($_GET['products_id'])) ? PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) : ' '); ?>
             <?php
            if ($products_qty_box_status == '0' or $products_quantity_order_max== '1') {
              // hide the quantity box and default to 1
              $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('price', $products_buynow_price) . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_AUCTION_BUY_NOW, BUTTON_AUCTION_BUY_NOW_ALT);
            } else {
              // show the quantity box
              $the_button = PRODUCTS_QUANTITY_TO_BUY_NOW . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br>' . zen_draw_hidden_field('price', $products_buynow_price) . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_AUCTION_BUY_NOW, BUTTON_AUCTION_BUY_NOW_ALT);
            }
            ?><br/><?php
            echo zen_get_buy_now_button_auction($_GET['products_id'], $the_button);
            ?>
           </div>

  <?php } } ?></form>

I guess I'm a bit confused, if this is missing, then you may have even more of the file missing.

14 Aug 2009, 6:07 PM
#403
arrow avatar

arrow

New Zenner

Join Date:
Nov 2007
Location:
Montreal, Qc
Posts:
51
Plugin Contributions:
0

Re: Auction Product Type

I found what my problem was: I didn't allow the Auction product type to be added to the cart (duh!). The button appears now.

It now seems like the database did not update properly. I have a SQL error:
"1054 Unknown column 'bid_old_buynow_price' in 'field list'
in:
[update product_auction_extra set bid_old_buynow_price = **** where products_id = ****]".

This should be easier to solve.

14 Aug 2009, 6:39 PM
#404
arrow avatar

arrow

New Zenner

Join Date:
Nov 2007
Location:
Montreal, Qc
Posts:
51
Plugin Contributions:
0

Re: Auction Product Type

... and it was. Turned out I had an old version of shopping_cart.php.

Everything seems to be all right now!

25 Aug 2009, 1:47 PM
#405
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Auction Product Type

Just a quickie, how do i change the sentance at the top of the listings that says: Auction Sales, One of a kind products, new, and antiques up for sale. Buy Now or compete for the item.

Cheers
Ben

26 Aug 2009, 2:56 AM
#406
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

ben harry:

Just a quickie, how do i change the sentance at the top of the listings that says: Auction Sales, One of a kind products, new, and antiques up for sale. Buy Now or compete for the item.

Cheers
Ben

Look in;

\includes\languages\english\YOUR_TEMPLATE\product_auction_info.php

For this define..

define('TEXT_AUCTION_TAG_LINE', 'Auction Sales, One of a kind products, new, and antiques up for sale.  Buy Now or compete for the item. ');
1 Sep 2009, 9:41 AM
#407
marka avatar

marka

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Re: Auction Product Type

Hey guys,

Very interested in this module.
I've tried installing it on my local machine but when I go in to view a Auction-type product nothing shows up.

I'm not sure if I am using the correct configuration:

ZenCart 1.3.8
Running Xampp on Windows Vista with PHP5 and MySQL5.

Am I using the wrong version of Zencart, PHP or MySQL?

Many thanks in advance, Mark.

2 Sep 2009, 9:42 PM
#409
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Auction Product Type

Hi there, running into a couple of problems:

  1. winner of the auction is not receiving emails
  2. once auction is paid by the winner the Pay Now button keeps appearing there instead of the Sold button
  3. the winner can't see the auctions he has won in his account area

Any way you could point me in the right direction for this???

Thanks!

7 Sep 2009, 2:19 AM
#410
Join Date:
May 2009
Posts:
18
Plugin Contributions:
0

Re: Auction Product Type

Hello, hope all is well, I started a new site, bidsalad.com. I have managed to get most everything working and I am very happy with the auction product type mod. I have two questions, the first is when the pop up for auction help, a little box pops up, do I need to define it and if I do where? Also the images on the product pages are being cut off, do I need to upload them to a certain file? Any help would be great thanks! Here is a link: http://bidsalad.com/shop/index.php?main_page=product_auction_info&cPath=1&products_id=1

7 Sep 2009, 3:11 PM
#411
Join Date:
May 2009
Posts:
18
Plugin Contributions:
0

Re: Auction Product Type

Nevermind on the auction popup help, I realized the font was the same color as the background so I edited the style sheet in my template and yeehaw! Still curious about how to edit my images so they are not cut off, I will fiddle a little. Thanks!

10 Sep 2009, 2:21 PM
#412
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

Motorcycle Connectio:

Nevermind on the auction popup help, I realized the font was the same color as the background so I edited the style sheet in my template and yeehaw! Still curious about how to edit my images so they are not cut off, I will fiddle a little. Thanks!

I use 120 x 120 images for faster page loads. The css 'box4' container controls the space for the image display.

11 Sep 2009, 4:05 AM
#413
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Auction Product Type

Dave

I'm running into a couple of problems and for the love of God I can't figure it out:

  1. the winner can't see the auctions he has won in his account area
  2. once auction is paid by the winner the Pay Now button keeps appearing there instead of the Sold button

The email thing I was able to figure out, but these 2 are driving me insane and I really want to fix it. Any idea how?

Thanks for the help.

MV

11 Sep 2009, 4:33 PM
#414
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

mvstudio:

  1. the winner can't see the auctions he has won in his account area
    If you have it switched to auto add the product to the winner cart, then when the winner logs in, they should see that the cart has products ready for check out. The normal shopping cart functions take over from here. Once checkout is completed, then the order will show in there account history. If auto add is off and 'Pay Now' button is on, then they need to visit the product page and click the button. At this time, a account section is not ready, will add it in later.

mvstudio:

  1. once auction is paid by the winner the Pay Now button keeps appearing there instead of the Sold buttoncurrently, the product once it makes it through checkout, should go inactive and not be displayed at all. Again, this is something I do plan to add, but for now, a sold button is not used.
11 Sep 2009, 5:00 PM
#415
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Auction Product Type

Thank you for your reply.

How do I switch to auto add the product to the winner cart? Is that a feature of the auction type??

11 Sep 2009, 10:49 PM
#416
Join Date:
May 2009
Posts:
18
Plugin Contributions:
0

Re: Auction Product Type

Thanks for the info on the pics, I worked them out. I dont know if I messed up some code but when i post an item I get an error on the category. It states "invalid master category ID" when i post a product in general product it picks up the category. When the item is posted on the items listings page I can buy the item for the original auction price, not the buy it now price. It doesnt seem to be updating, although when I run the product through on a buy it now in the individual product page, and take it to the cart, it updates the price. I hear talk about clearing the table and starting over from my php, however I am sceered of the my php, I try not to mess with it. I am a novice, I mess with html and tinker a little, so sometimes I mess up the codes. However I tried to keep this auction mod clean because I think its a great addition to a site. What can I do to fix my products? Thanks! Also the auction manager page seems off kilter a little, it shows all the product id's first then the product information, its not lined up. My new site is http://bidsalad.com. Thanks for the auction product type mod!

13 Sep 2009, 10:27 PM
#417
Join Date:
May 2009
Posts:
18
Plugin Contributions:
0

Re: Auction Product Type

Nevermind all fixed except the invalid master category, seems to be working anyway. Thanks

26 Sep 2009, 7:47 AM
#418
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Auction Product Type

Not sure where else to add this, Ive installed this mod for possible future use and i came accross a small error whilst validating, within includes/templates/custom/css/stylesheet_auction.css line 39 it is missing the 'px' after the width and the margin

it says

div#box5 {width:240;padding: 5px;margin:10 auto;background:#ffffff }

instead of

div#box5 {width:240px;padding: 5px;margin:10px auto;background:#ffffff }

Thanks
Ben

27 Sep 2009, 1:13 AM
#419
Join Date:
May 2009
Posts:
18
Plugin Contributions:
0

Re: Auction Product Type

Everything on my auction site working wonderfully, one gliche I cant figure out is my auctions manager is out of kilter. Here is a screen shot
Attachment #6519

10 Nov 2009, 5:12 PM
#420
stampsville avatar

stampsville

Zen Follower

Join Date:
Jul 2004
Posts:
123
Plugin Contributions:
0

Re: Auction Product Type

Although this should work....Looking at the product types / Product - Auction / Edit Layout . The show additional images in not there like in the regular product.

I think if this switch was added it would allow the additional images to show.

Anyone know how to add this switch to just the auction product through the SQL?

I have tried but keep getting error of tables.....

Thanks
Grant

davewest:

Displaying of the additional image is done differently then the main products images. I modified this a bit so the 'Fuel Slimbox' and additional images would work, but I didn't change the logic. May have to work through it when I get more time.

If your site is heavily modified templates, then you should be thinking about changing the default layout of the auction product page, also if includes\templates\template_default\common\tpl_columnar_display.php was deleted or modified, then the images would not show and the code would error and stop the display. This is a standard common file, not part of the mod.

You can test this by commenting out line 128 in includes\templates\YOUR_TEMPLATE\templates\tpl_product_auction_info_display.php

/**

  • display the products additional images
    */
    //require(DIR_WS_MODULES . 'pages/' . $current_page_base . '/main_template_vars_images.php'); ?>
<!--eof Additional Product Images -->
> 
> This image shows how the images line up, also, the main image on top is slightly larger then the rest.