Forums / All Other Contributions/Addons / Auction Product Type

Auction Product Type

Views: 177,418

Results 501 to 520 of 740
4 May 2010, 5:40 AM
#501
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Auction Product Type

I did discover one bug in this add-on. The file includes/templates/classic/templates/tpl_product_auction_info_display.php, around line 128 is missing a php closing tag (or whatever it's called).

<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php');

Should be:

<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>

Correcting this should help.

4 May 2010, 4:22 PM
#502
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

mzimmers:

I did discover one bug in this add-on. The file includes/templates/classic/templates/tpl_product_auction_info_display.php, around line 128 is missing a php closing tag (or whatever it's called).

That was covered some pages back and is fixed in the next release. I've also changed some of the coding to work with 1.3.9 and now 1.3.9b which is why it's taking longer to put out the update.

If your still getting blank pages, and running 1.3.8, try the Debug Error-Logging Utility tool
https://www.zen-cart.com/tutorials/index.php?article=82

Dave
Always forward thinking... Lost my mind!

4 May 2010, 4:27 PM
#503
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

Hi, Dave –

Thanks for the reply. Sorry I duplicated information here. I'm not getting blank pages any more; that was cockpit error on my part. As near as I can see, it's operational (or at least displays properly) in v139a.

5 May 2010, 6:06 AM
#504
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

mzimmers:

Hi, Dave –

Thanks for the reply. Sorry I duplicated information here. I'm not getting blank pages any more; that was cockpit error on my part. As near as I can see, it's operational (or at least displays properly) in v139a.

I kind of figured you know about the tool after I clicked the submit button... lest with 1.3.9 it's built in.

Theirs a few changes in the code in 139 that's worth making changes in the auction mod as will, I'm fixing some of the junk code and cleaning things up that I haven't had time to look at before... Pulse it helps when the next version of php comes out if your not that far behind it....

Dave
Always forward thinking... Lost my mind!

6 May 2010, 2:10 AM
#505
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

I just integrated APT with a different shop instantiation (for more testing). Now, I get the "Product - Auction" choice twice in the pull-down menu. Any idea what I did to double my pleasure? Thanks.

6 May 2010, 2:22 AM
#506
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

Update: I ran the uninstall SQL, and then the install SQL again. I did this twice, since I got a bunch of funny error messages the first time around. I think this solved it, but I'd like to hear any thoughts from someone who knows a bit about this add-on.

6 May 2010, 2:53 AM
#507
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

And, while the DB seems happy now, I've added a product for auction. When I go to its page, I get the following error:

document.getElementById("remain") is null
http://www.cinderellaantiques.com/shop_v139_test/index.php?main_page=product_auction_info&cPath=2_13&products_id=28
Line 64
document.getElementById("remain").in...utes+" minutes, "+seconds+" seconds";

Can someone please decode this for me? The file product_auction_info.php is just a bunch of defines; I have no idea where this document.getElementById came from.

Thanks.

6 May 2010, 3:06 AM
#508
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

One more bit of data: this function seems to be undefined:

window.attachEvent("onload", setCountDown)

OK, I'll be quiet now and let someone look at this.

6 May 2010, 4:58 AM
#509
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

mzimmers:

I just integrated APT with a different shop instantiation (for more testing). Now, I get the "Product - Auction" choice twice in the pull-down menu. Any idea what I did to double my pleasure? Thanks.
There was a problem in the SQL statements... and me... I was just adding to them for updates and not reading them. I did read them this time and trashed the file. the next set will never do that again...

mzimmers:

I've added a product for auction. When I go to its page, I get the following error:

document.getElementById("remain") is null
Line 64
document.getElementById("remain").in...utes+" minutes, "+seconds+" seconds";

Can someone please decode this for me? The file product_auction_info.php is just a bunch of defines; I have no idea where this document.getElementById came from.

Thanks.
When you create a auction it needs both a beginning date and an ending date, no date and errors happen..... the date is blank. When I get some time, I really need to set down and rewrite that time code.. and add error checking to prevent blank dates.
mzimmers:

One more bit of data: this function seems to be undefined:

window.attachEvent("onload", setCountDown)

OK, I'll be quiet now and let someone look at this.
This should disappear when the time is set. I tried to write the onload event for the clock so it would stack with other onload's that may be in use.

Dave
Always forward thinking... Lost my mind!

6 May 2010, 8:01 PM
#510
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

Hey, Dave –

Thanks for the answers. I've done a lot of playing with it, and have a few more questions:

  1. it appears that there's a placeholder in the tpl_product_auction_info_display.php file for an "ask a question" area, but it's essentially empty. Is this by design?
  2. it might have been my messing around, but there seems to be a bug that arises when I reload a page after bidding. It duplicates the entry in the previous bid list, and updates the bid counter.
  3. during testing, my initial bid was rejected as being too small, even though it was exactly the starting price.

I've also made several cosmetic changes, which can be seen here:
http://www.cinderellaantiques.com/shop_v139_test/index.php?main_page=product_auction_info&cPath=2_13&products_id=29

If you'd like any or all of these for your future release, just say the word, and I'll send you the files. Thanks for all your work on this.

6 May 2010, 8:48 PM
#511
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

As long as I'm tossing stuff out:

  1. I don't know if it really matters, but my auction product isn't showing a difference between price net and price gross.
  2. Where in the admin section do you view and change auction information? Like cancelling a bid, for example?
7 May 2010, 3:25 AM
#512
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

mzimmers:

  1. it appears that there's a placeholder in the tpl_product_auction_info_display.php file for an "ask a question" area, but it's essentially empty. Is this by design?
    Yes... it's in the 'Free Software Add Ons' section of this site. I use it, but had to remove the code.... don't thank many others do.
  1. it might have been my messing around, but there seems to be a bug that arises when I reload a page after bidding. It duplicates the entry in the previous bid list, and updates the bid counter.
  2. during testing, my initial bid was rejected as being too small, even though it was exactly the starting price.It's not that strong of code so it wouldn't be to hard to break it. I'll have to see if I can reproduce it.

I've also made several cosmetic changes, which can be seen here:Looks nice... I do like the seconds counting down through, even through it doesn't really need it. I've gone back to the default design so to make it easier for site designers to work with.

  1. I don't know if it really matters, but my auction product isn't showing a difference between price net and price gross.This is in admin for some reason to calculate tax, but without knowing the finish auction price, how do you tax it! My tax is done at checkout according to the state it ships to... I know everyone may be different, so I left it in... thinking about removing it all and not doing tax calculations at the product creation side.
  1. Where in the admin section do you view and change auction information? Like cancelling a bid, for example?Auction manager... right now, theirs no way you can remove just one bid without editing the product and fixing the current price.... The database doesn't have a storage spot for it.... I was thinking the other day it would be nice to have the ability for admin to cancel one.... but would it be far to the other bidders! Do Overs!

Dave
Always forward thinking... Lost my mind!

9 May 2010, 1:33 AM
#513
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Auction Product Type

Hey, Dave –

Thanks for the detailed answers. I'd like to put a vote in for a feature to cancel bids. This could be very useful for a variety of reasons.

Do you know whether anyone has built a sidebox to display an auctioned item? I'm planning on offering one item for auction per week, and I'd like to give it some attention in a sidebox. I know kuroi has built a blank sidebox for general purpose, but...I haven't yet cracked the ZC code on how to build a link to a particular item.

Thanks.

9 May 2010, 4:38 AM
#514
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

mzimmers:

Hey, Dave –

Thanks for the detailed answers. I'd like to put a vote in for a feature to cancel bids. This could be very useful for a variety of reasons.

Do you know whether anyone has built a sidebox to display an auctioned item? I'm planning on offering one item for auction per week, and I'd like to give it some attention in a sidebox. I know kuroi has built a blank sidebox for general purpose, but...I haven't yet cracked the ZC code on how to build a link to a particular item.

Thanks.
Working on the delete bid button today......Put a on/off switch on the clock per-item, cleaned up the pricing, fixed the dates so that wont course errors again, did some more house cleaning, bids was last on my list..

Sidebox was done and will be out with the next update... tons of switches much the same as the product list. Running on my site already.

Dave
Always forward thinking... Lost my mind!

19 May 2010, 12:59 PM
#515
andysuciu avatar

andysuciu

New Zenner

Join Date:
May 2010
Posts:
1
Plugin Contributions:
0

Re: Auction Product Type

hello. i installed your addon and i have a problem with my template. i use cherry_zen template but i modified it a little. all page works but at the auction product it's messed up. my link is http://andysuciu.dyndns.org/licenta_doi/index.php?main_page=index&cPath=9. can you tell me what to modify or where to look to make it look ok when auctioning. thank you.

14 Jun 2010, 6:31 PM
#516
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Auction Product Type

A quick question.
I need an auction section for a client's website.
I don't want the auction site to be in any way connected to or working via ebay or some other auction site, I want everything to be processed through Zencart and my client's payment gateways.

I need to know if this particular addon works in the manner I described above.

14 Jun 2010, 6:38 PM
#517
fez_o_joe avatar

fez_o_joe

Zen Follower

Join Date:
Sep 2009
Location:
California
Posts:
141
Plugin Contributions:
0

Re: Auction Product Type

Short answer... Yes. :D

Items are converted to 'auction' type and it's a simple matter to do - same back-end, same functions. The only thing we changed was the amount of bids displaying on the page.

Good luck.

15 Jun 2010, 7:45 AM
#518
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Auction Product Type

That's perfect!
Just what I've been looking for :D

26 Jul 2010, 10:56 AM
#519
what_to_get avatar

what_to_get

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Auction Product Type

Good morning all,

I was wondering if you could help me, I am trying to install Zen Auction 1.2 into my Zen Cart.

All files transfered ok but when I try and run the SQL script through SQL patches from Zen Cart tools, I get a full screen of errors as follows:

1062 Duplicate entry 'SHOW_PRODUCT_AUCTION_INFO_MODEL' for key 2
in:
[INSERT INTO zen_product_type_layout VALUES ('','Show Model Number', 'SHOW_PRODUCT_AUCTION_INFO_MODEL', '1', 'Display Model Number on Product Info 0= off 1= on', @t4, '1', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Weight', 'SHOW_PRODUCT_AUCTION_INFO_WEIGHT', '1', 'Display Weight on Product Info 0= off 1= on', @t4, '2', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Attribute Weight', 'SHOW_PRODUCT_AUCTION_INFO_WEIGHT_ATTRIBUTES', '1', 'Display Attribute Weight on Product Info 0= off 1= on', @t4, '3', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Manufacturer', 'SHOW_PRODUCT_AUCTION_INFO_MANUFACTURER', '1', 'Display Manufacturer Name on Product Info 0= off 1= on', @t4, '4', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Quantity in Shopping Cart', 'SHOW_PRODUCT_AUCTION_INFO_IN_CART_QTY', '1', 'Display Quantity in Current Shopping Cart on Product Info 0= off 1= on', @t4, '5', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Quantity in Stock', 'SHOW_PRODUCT_AUCTION_INFO_QUANTITY', '1', 'Display Quantity in Stock on Product Info 0= off 1= on', @t4, '6', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Product Reviews Count', 'SHOW_PRODUCT_AUCTION_INFO_REVIEWS_COUNT', '1', 'Display Product Reviews Count on Product Info 0= off 1= on', @t4, '7', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Product Reviews Button', 'SHOW_PRODUCT_AUCTION_INFO_REVIEWS', '1', 'Display Product Reviews Button on Product Info 0= off 1= on', @t4, '8', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Date Available', 'SHOW_PRODUCT_AUCTION_INFO_DATE_AVAILABLE', '1', 'Display Date Available on Product Info 0= off 1= on', @t4, '9', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Date Added', 'SHOW_PRODUCT_AUCTION_INFO_DATE_ADDED', '1', 'Display Date Added on Product Info 0= off 1= on', @t4, '10', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Product URL', 'SHOW_PRODUCT_AUCTION_INFO_URL', '1', 'Display URL on Product Info 0= off 1= on', @t4, '11', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Starting At text on Price', 'SHOW_PRODUCT_AUCTION_INFO_STARTING_AT', '1', 'Display Starting At text on products with attributes Product Info 0= off 1= on', @t4, '12', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Product Tell a Friend button', 'SHOW_PRODUCT_AUCTION_INFO_TELL_A_FRIEND', '1', 'Display the Tell a Friend button on Product Info

Note: Turning this setting off does not affect the Tell a Friend box in the columns and turning off the Tell a Friend box does not affect the button
0= off 1= on', @t4, '13', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Product Free Shipping Image Status - Catalog', 'SHOW_PRODUCT_AUCTION_INFO_ALWAYS_FREE_SHIPPING_IMAGE_SWITCH', '0', 'Show the Free Shipping image/text in the catalog?', @t4, '14', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''Yes''), array(''id''=>''0'', ''text''=>''No'')), '), ('','Show Reserve Price or not!', 'SHOW_PRODUCT_RESERVE_INFO', '1', 'Display Reserve price Info 0= off 1= on', @t4, '15', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Product Price Tax Class Default - When adding new products?', 'DEFAULT_PRODUCT_AUCTION_TAX_CLASS_ID', '0', 'What should the Product Price Tax Class Default ID be when adding new products?', @t4, '16', now(), now(), NULL, ''), ('','Product Virtual Default Status - Skip Shipping Address - When adding new products?', 'DEFAULT_PRODUCT_AUCTION_PRODUCTS_VIRTUAL', '0', 'Default Virtual Product status to be ON when adding new products?', @t4, '17', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Product Free Shipping Default Status - Normal Shipping Rules - When adding new products?', 'DEFAULT_PRODUCT_AUCTION_PRODUCTS_IS_ALWAYS_FREE_SHIPPING', '0', 'What should the Default Free Shipping status be when adding new products?', @t4, '18', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')),'), ('','Show Product Additional Images', 'SHOW_PRODUCT_AUCTION_INFO_ADDITIONAL_IMAGES', '1', 'Display Additional Images on Product Info 0= off 1= on', @t4, '19', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Product Additional Shipping Images', 'SHOW_PRODUCT_AUCTION_FREE_SHIPPING_INFO_ADDITIONAL_IMAGES', '1', 'Display Additional Free shipping Images on Product Info 0= off 1= on', @t4, '20', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Metatags Title Default - Product Title', 'SHOW_PRODUCT_AUCTION_INFO_METATAGS_TITLE_STATUS', '1', 'Display Product Title in Meta Tags Title 0= off 1= on', @t4, '21', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Metatags Title Default - Product Name', 'SHOW_PRODUCT_AUCTION_INFO_METATAGS_PRODUCTS_NAME_STATUS', '1', 'Display Product Name in Meta Tags Title 0= off 1= on', @t4, '22', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Metatags Title Default - Product Model', 'SHOW_PRODUCT_AUCTION_INFO_METATAGS_MODEL_STATUS', '1', 'Display Product Model in Meta Tags Title 0= off 1= on', @t4, '23', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Metatags Title Default - Product Price', 'SHOW_PRODUCT_AUCTION_INFO_METATAGS_PRICE_STATUS', '1', 'Display Product Price in Meta Tags Title 0= off 1= on', @t4, '24', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), '), ('','Show Metatags Title Default - Product Tagline', 'SHOW_PRODUCT_AUCTION_INFO_METATAGS_TITLE_TAGLINE_STATUS', '1', 'Display Product Tagline in Meta Tags Title 0= off 1= on', @t4, '25', now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''1'', ''text''=>''True''), array(''id''=>''0'', ''text''=>''False'')), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I have tried un-installing the script several times and had a look inside the SQL DB but still no joy. Can you please help? :dontgetit:

Thanks

Martin

27 Jul 2010, 1:32 AM
#520
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

What To Get:

I have tried un-installing the script several times and had a look inside the SQL DB but still no joy. Can you please help?

The sql is finding the key already there is why the error... The uninstall sql should have removed the auction form your database. Try the update sql, it should clean up the database and install the right keys.

Dave
Always forward thinking... Lost my mind!