Jump to content
Sign in to follow this  
FWR Media

auctionTastic

Recommended Posts

Robert,

 

I // out the error reporting as you stated. That allows the contribution to run without displaying all the errors.

 

I am just testing the contribution now to see if it is fully functional on the site I am doing.

 

 

btw, is there an info box that can be created for auction items so we can put them in the left or right column on the main page ?

 

 

 

Chris

 

Not at this stage Chris .. we're looking to make sure the contribution is solid for release at this stage but that is definately something that could be added.

 

Just for the record .. I hope you realise it is osCommerce putting out those errors and not auctionTastic, auctionTastic will run in PHP5 E_ALL | E_STRICT try changing the error_reporting to E_ALL in includes/application_top.php and you'll see what I mean.

Share this post


Link to post
Share on other sites

Hi Robert,

 

 

Thank you for your reply. I do understand NOW that it is OSC errors being displayed. I would suggest that the release be uploaded with the //error_reporting(ALL); already done with a note that if the user wants to check for errors that comments an be removed. This will prevent unnecessary forum questions.

 

 

I do have another question though. When the user places a bid, they receive this message:

 

Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

 

Are you sure you want to continue sending this information?

 

 

I noticed the auction_bids page is not set to SSL. I tried adding the SSL protocol but still receive the security message. Is there a work around to this ? The site is SLL enabled once the user logs in so this message should not appear in my opinion.

 

 

Thank you

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites
Hi Robert,

 

 

Thank you for your reply. I do understand NOW that it is OSC errors being displayed. I would suggest that the release be uploaded with the //error_reporting(ALL); already done with a note that if the user wants to check for errors that comments an be removed. This will prevent unnecessary forum questions.

 

 

I do have another question though. When the user places a bid, they receive this message:

 

Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

 

Are you sure you want to continue sending this information?

 

 

I noticed the auction_bids page is not set to SSL. I tried adding the SSL protocol but still receive the security message. Is there a work around to this ? The site is SLL enabled once the user logs in so this message should not appear in my opinion.

 

 

Thank you

 

 

Chris

 

Chris

 

This was a bug that has been fixed if you read back a few pages, beta 4 has yet to be made available at osCommerce as I'm looking for more solid testing before we call it a release candidate.

Share this post


Link to post
Share on other sites

Robert,

 

thank you, I will look that up.

 

 

One other thing.

 

 

I have been unable to fix an error that won't allow users to click next on the product info page. I have several modifications already on this page and THINK I have the code entered properly for AuctionTastic. Here is my product_info.php Perhaps you can see the error ??

 

 



<?php
/*
 $Id: product_info.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
 // BOF: FWR Auctions  
 $oscAuctions->product_info_initiate();
 $oscAuctions->auctionsRefreshPage();
 // EOF: FWR Auctions

 $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
 $product_check = tep_db_fetch_array($product_check_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<?php
# cDynamic Meta Tags
/*<title><?php echo TITLE;*/
require(DIR_WS_INCLUDES . 'meta_tags.php');
?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="shortcut icon" href="http://www.thehotfish.com/catalog/favicon.ico">
<meta NAME="Author" CONTENT="DunWeb-Designs">
<meta name="description" content="The House of Tropical Fish specializing in Marine Aquariums Systems">
<meta name="keywords" content="htf, house, tropical, fish, windsor, ontario, canada, saltwater, marine, fish, inverts, corals, trans-shipping, live rock, live sand, tangs, angels, blennies, butterfly fish, grouper, trigger, goby, octopus, eshopps, wet dry, filters, pond, protein skimmer, siphon overflow, canister filter, air pump, water pump, Gen X, Little Giant, EcoPump, Coralife, Tek Lighting, Lighting, T5, Metal Halide, flourescent, High output, Sunlight Supply, Nova extreme">
<script language="javascript"><!--
function popupWindow(url) {
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
 if ($product_check['total'] < 1) {
?>
     <tr>
       <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
<?php
 } else {
  /* $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); */
// Matching Products Contrib Edited Below
    $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_matching from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");


   $product_info = tep_db_fetch_array($product_info_query);

   tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");

   if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
     $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
   } else {
     $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
   }
   // BOF: FWR Auctions
   $oscAuctions->product_infoProductsPrice($products_price, $product_info['products_price'], $product_info['products_tax_class_id']); 
   // EOF: FWR Auctions
   if (tep_not_null($product_info['products_model'])) {
     $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
   } else {
     $products_name = $product_info['products_name'];
   }
?>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading" valign="top"><?php echo $products_name; ?></td>
           <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
    <?php
// BOF: FWR Auctions     
$oscAuctions->productInfoNotRegisteredCustomerMessage();
// EOF: FWR Auctions 
?>    
     <tr>
       <td class="main">
<?php
   if (tep_not_null($product_info['products_image'])) { 
?>
         <table border="0" cellspacing="0" cellpadding="2" align="right">
           <tr>
             <td align="center" class="smallText">
<script language="javascript"><!--
document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
</noscript>
             </td>
           </tr>
         </table>
<?php
   }
?>
           <p><?php echo stripslashes($product_info['products_description']); ?></p>
<?php
// BOF: FWR Auctions
if (!$oscAuctions->productShowAuction()) {
// EOF: FWR Auctions
   $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
   $products_attributes = tep_db_fetch_array($products_attributes_query);
   if ($products_attributes['total'] > 0) {
?>
         <table border="0" cellspacing="0" cellpadding="2">
           <tr>
             <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
           </tr>
<?php
     $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
     while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
       $products_options_array = array();
      // $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");

// BOE: Attribute Sort with Clone Tool
       $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.attribute_sort");
// EOE: Attribute Sort with Clone Tool

       while ($products_options = tep_db_fetch_array($products_options_query)) {
         $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
       //  if ($products_options['options_values_price'] != '0') {

// BOF Mod Prices for Logged in Customers Only
           if ($products_options['options_values_price'] != '0' && tep_session_is_registered('customer_id')) {
// EOF Mod Prices for Logged in Customers Only

           $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
         }
       }

       if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
         $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
       } else {
         $selected_attribute = false;
       }
?>
           <tr>
             <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>
             <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
           </tr>
<?php
     }
?>
         </table>
<?php
   }
// BOF: FWR Auctions
}
// EOF: FWR Auctions
?> 
       </td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
   $reviews = tep_db_fetch_array($reviews_query);
   if ($reviews['count'] > 0) {
?>
     <tr>
       <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   }

   if (tep_not_null($product_info['products_url'])) {
?>
     <tr>
       <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
   }

   if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
     <tr>
       <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
     </tr>
<?php
   } else {
?>
     <tr>
       <td align="center" class="smallText">  <!-- <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> --> </td>
     </tr>
<?php
   }
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php
// BOF: FWR Auctions
if( false === $oscAuctions->product_infoShowBids($product_info) ){
// EOF: FWR Auctions
?> 
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<!-- Added Back Back Button -->
<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_path($current_category_id = '')) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>
<!-- End back back button -->
              <!-- <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> -->
               <td class="main" align="right"><!-- <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?>-->

<!-- start no button if quantity 0 -->
			<?php
			if ( $product_info['products_quantity'] > 0 ) {
			echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); 
			} else { 
			} 
			?>
<!-- end no button if quantity 0 -->

               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
<?php
// MATCHING PRODUCTS
if (tep_not_null($product_info['products_matching'])) {
	$product_matches = explode(',', $product_info['products_matching']);
	$total_match_count = sizeof($product_matches);
// Display only if more than 1 match
if ($total_match_count > 1) {
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><?php include(DIR_WS_MODULES . FILENAME_MATCHING_PRODUCTS); ?></td>
     </tr>
<?php
}
}
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
              <td>
<?php
// BOF: FWR Auctions
}
// EOF: FWR Auctions 
   if ((USE_CACHE == 'true') && empty($SID)) {
     echo tep_cache_also_purchased(3600);
   } else {
     include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
 }
?>
             </td>
     </tr>
   </table>  
<?php 
// BOF: FWR Auctions
if (!$oscAuctions->productShowAuction()) {
?>
   </form>  
<?php
}
// EOF: FWR Auctions
?>      
 </td>
<!-- body_text_eof //-->
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
   </table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

Thanks again for the support.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

Sorry Chris I'm not looking through whole files to find your errors.

 

What I will say is that this contribution does not produce that error.

Share this post


Link to post
Share on other sites
Chris

 

This was a bug that has been fixed if you read back a few pages, beta 4 has yet to be made available at osCommerce as I'm looking for more solid testing before we call it a release candidate.

 

IS IT A BUG or wrong testing?

 

1. New product added to categories

2. The same product added to auction

3. Few bids on the product

4. Product was bought before the auction has ended - BUY NOW

5. The product is out of stock

6. Auction ended – the product added to shopping cart of the winning bidder

7. The winning bidder received a winner e-mail

8. Click on a link - log in

9. The winner can’t pay for the product because it is out of stock and he’s not able to pay for it so he decided to buy another product as buy now

10. He still can’t go true checkout process because in his shopping cart is product from ended auction and he can’t finish the checkout process and he can’t remove the auction product out from his shopping cart..

 

!! BLOCK !!!

 

What do you think?

Share this post


Link to post
Share on other sites

Idon,

 

Actually,

 

The auction process seems to work well. But, it was only after I installed AuctionTastic that the product listing pages stopped functioning. Customers can click on a category, the sub-category and into the product listing pages but can not continue to the second page of the product listing. It simply loops back to index when page 2 or next is clicked.

 

 

Since this is the latest contribution that was installed, I must assume it is an error in my installation or the code that is preventing the listing from appearing properly.

 

 

Thank you for your reply.

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites
Idon,

 

Actually,

 

The auction process seems to work well. But, it was only after I installed AuctionTastic that the product listing pages stopped functioning. Customers can click on a category, the sub-category and into the product listing pages but can not continue to the second page of the product listing. It simply loops back to index when page 2 or next is clicked.

 

 

Since this is the latest contribution that was installed, I must assume it is an error in my installation or the code that is preventing the listing from appearing properly.

 

 

Thank you for your reply.

 

 

Chris

 

Actually the question was for FWR media and all other people in the forum.

:o)

 

Thanks anyway

Share this post


Link to post
Share on other sites

Oops......my bad !

 

I did search for that security warning fix but couldn't find it. For now, I have uninstalled the Auction Contribution until all the 'quirks' are ironed out.

 

Chris

 

ps. uninstalling the contribution now allows users to browse through the product pages. So, somehow this contribution affects the product listing.


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites
IS IT A BUG or wrong testing?

 

1. New product added to categories

2. The same product added to auction

3. Few bids on the product

4. Product was bought before the auction has ended - BUY NOW

5. The product is out of stock

6. Auction ended – the product added to shopping cart of the winning bidder

7. The winning bidder received a winner e-mail

8. Click on a link - log in

9. The winner can’t pay for the product because it is out of stock and he’s not able to pay for it so he decided to buy another product as buy now

10. He still can’t go true checkout process because in his shopping cart is product from ended auction and he can’t finish the checkout process and he can’t remove the auction product out from his shopping cart..

 

!! BLOCK !!!

 

What do you think?

 

I think admins shouldn't put products up for auction that they are nearly out of stock of :)

Share this post


Link to post
Share on other sites
ps. uninstalling the contribution now allows users to browse through the product pages. So, somehow this contribution affects the product listing.

 

No .. you created errors by incorrect installation, by removing those errors (reinstalling backup) you eradicate the problem.

Share this post


Link to post
Share on other sites
I think admins shouldn't put products up for auction that they are nearly out of stock of :)

 

But what to do if I've got just one product in stock?

 

Or ... OK,

 

1.let's say I've got 25 products in stock.

 

2. One of 25 products added to auction

3. Few bids on the product

4. All 25 products were bought before the auction has ended - BUY NOW

5. The product is out of stock

6. Auction ended – the product added to shopping cart of the winning bidder

7. The winning bidder received a winner e-mail

8. Click on a link - log in

9. The winner can’t pay for the product because it is out of stock and he’s not able to pay for it so he decided to buy another product as buy now

10. He still can’t go true checkout process because in his shopping cart is product from ended auction and he can’t finish the checkout process and he can’t remove the auction product out from his shopping cart..

 

 

???

Share this post


Link to post
Share on other sites

Perhaps Robert,

 

 

That's why I asked for you to briefly review the products_info.php file to verify if it was my error or not. Since that could not be gone, I can only assume that my installation was correct as I did not find an error during the installation process.

 

 

Once the final release is made, I will be sure to try it again as I believe it will be a great contribution once complete.

 

 

 

Best regards,

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites
All 25 products were bought before the auction has ended - BUY NOW

 

a ) Well done you are rich :)

 

b ) Get a replacement in real fast for the auction winner :)

 

Jokes aside it may be something to add but atm I'm concentrating on core function.

Edited by FWR Media

Share this post


Link to post
Share on other sites
a ) Well done you are rich :)

 

b ) Get a replacement in real fast for the auction winner :)

 

Jokes aside it may be something to add but atm I'm concentrating on core function.

 

I'm not commenting on what people are querying here but how is the core functionality coming along? It's leaps and bounds better than it was from the first beta. Where are you at now with this FWR with regards to testing for bugs?

 

I haven't found any bugs or problems recently.


Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Share this post


Link to post
Share on other sites
I'm not commenting on what people are querying here but how is the core functionality coming along? It's leaps and bounds better than it was from the first beta. Where are you at now with this FWR with regards to testing for bugs?

 

I haven't found any bugs or problems recently.

 

Well tbh Chooch I'm relying on you and other testers to find bugs as I have other commercial commitments atm.

 

I'm in a position to support and update but not to test.

Share this post


Link to post
Share on other sites
Well tbh Chooch I'm relying on you and other testers to find bugs as I have other commercial commitments atm.

 

I'm in a position to support and update but not to test.

 

Well in that case I'll help out as much as I can, as stated before I am going to use a modified version of a release in a live store to achieve the things I need. Up until that point I am quite happy to test it and update here, as it goes I have two sites hosted with this contribution on two separate hosts (servers) so the results should help.

 

As far as bugs go I can't see any yet.... I did see some hard coding (language) in the files somewhere but that was about it. So far my tests today have been quite successful


Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Share this post


Link to post
Share on other sites
Well in that case I'll help out as much as I can, as stated before I am going to use a modified version of a release in a live store to achieve the things I need. Up until that point I am quite happy to test it and update here, as it goes I have two sites hosted with this contribution on two separate hosts (servers) so the results should help.

 

As far as bugs go I can't see any yet.... I did see some hard coding (language) in the files somewhere but that was about it. So far my tests today have been quite successful

 

Oh .. could you do me a favour Chooch please and list any hardcoding you find .. they shouldn't be there.

Share this post


Link to post
Share on other sites
Oh .. could you do me a favour Chooch please and list any hardcoding you find .. they shouldn't be there.

 

No problem.. here are the language ones I found

 

includes/modules/auctions/auctions_show.php

Lines: 105, 106, 114,115,120

 

includes/modules/auctions/auction_bids.php

Lines: 129

 

There are lots of hard-coded colour codes too but not sure if you want to move them to the stylesheet. There are too many.

Edited by chooch

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Share this post


Link to post
Share on other sites

FWR

I had been thinking about creating a column left/right Auctions infobox for auction items for some time but never got round to doing it. As it was mentioned a few posts ago I thought it was something worth doing. Even though I'll be floating around here from time to time I go back to work tonight (night shift) so won't be able to start on it until the weekend but do you want me send it to you? I know it's an easy job and you can do it yourself if you have time but since you don't have time due to work commitments I can do it. As it's your contribution you can look at the code and decide if you want to add it to a release version - just a thought.

Edited by chooch

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Share this post


Link to post
Share on other sites
FWR

I had been thinking about creating a column left/right Auctions infobox for auction items for some time but never got round to doing it. As it was mentioned a few posts ago I thought it was something worth doing. Even though I'll be floating around here from time to time I go back to work tonight (night shift) so won't be able to start on it until the weekend but do you want me send it to you? I know it's an easy job and you can do it yourself if you have time but since you don't have time due to work commitments I can do it. As it's your contribution you can look at the code and decide if you want to add it to a release version - just a thought.

 

Most appreciated, yes please.

Share this post


Link to post
Share on other sites

Hi,

 

Thank you very much for your quick and professional reply.

Commenting the errors removed all visible errors.

I am still having problems after installation.

 

I am going to try a completely fresh installation.

 

I think one of the problems that I have is the my product_info.php page has been heavily customised and I am unable to to find and change all the coding as per your instructions.

 

I am definetely keeping an eye on this contribution and you will see it in my store soon!

 

Thank you once again!

 

Tony

Share this post


Link to post
Share on other sites
FWR

I had been thinking about creating a column left/right Auctions infobox for auction items for some time but never got round to doing it. As it was mentioned a few posts ago I thought it was something worth doing. Even though I'll be floating around here from time to time I go back to work tonight (night shift) so won't be able to start on it until the weekend but do you want me send it to you? I know it's an easy job and you can do it yourself if you have time but since you don't have time due to work commitments I can do it. As it's your contribution you can look at the code and decide if you want to add it to a release version - just a thought.

 

Hi all

First of all thanks for a great module with a lot of potential. I have been following this thread for a while from the sideline, and i think we go live with the auction module in two weeks time.

chooch - you are talking about making a column for the auctions product.

I have made one but i dont know if you can use it the way it works.

We are running an antiquestore in Denmark and only got one of each product/item - therefor you can't buy the items in the auctionbox in a normal way (Buy now) - to prevent someone is buying an item wich is alredy on auction of course. Its a kind of showroom.

I have also made a link wich is added to the products on auction automaticly. The link goes to that specific auction for the item.

If anyone is interested the code is here. ( i think someone was asking for it a few weeks ago)

The link goes in product_info.php just BEFORE:

<?php

$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");

$reviews = tep_db_fetch_array($reviews_query);

if ($reviews['count'] > 0) {

?>

 

HERE IS THE LINK CODE:

 

<?php

//add link to auctions

if(true==$oscAuctions->isAuctionProduct()) {

$auctionlink= tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .(int)$HTTP_GET_VARS['products_id'] . '&page=' . '' . '&auction_show=1', 'SSL');

echo '<tr><td class="main"><br><a href="' . $auctionlink . '">' . TEXT_GO_TO_AUCTION . '</a>';

}

?>

 

The link to the shop (still in development) is here if you like to see if you can use the auctionbox in the next beta release. www.sparemor.dk Its only in danish right now but i think you can figure it out.

 

Bye for now

Thomas

Share this post


Link to post
Share on other sites
Hi all

First of all thanks for a great module with a lot of potential. I have been following this thread for a while from the sideline, and i think we go live with the auction module in two weeks time.

 

Very good to hear from a real user Thomas and glad you are enjoying it. (one of my very best customers happens to be in Herlev)

 

The current download (at osCommerce) has some know bugs which have been fixed. Beta 4 however is not yet available for download as I am currently monitoring ongoing testing with a view to making available a release candidate.

 

By its very nature a beta should not be used on a live site.

 

As you are going live soon Thomas, perhaps it would be a good idea for you to have the latest version, should you find this attractive email me at ..

 

admin AT <my forum name(no spaces))> dot co dot uk

 

I'll send back the latest version. Due to the modularity of auctionTastic no core files have been changed, as long as you haven't changed any of the files in the upload directory you can just load those files on top of your old auctionTastic files. There have also been no database changes.

 

warning NEVER change any files without previously backing up. It is your responsibility.

Edited by FWR Media

Share this post


Link to post
Share on other sites

Hallo FWR Media

A little bug here from DK.

we are planning to using table rate shipping weight based.

However when a custumer wins two auctions it only adds shipping costs for the first item. ( works good if custumer only wins one item)

It works perfecktley when custumer buys the items in the "normal way" so I think it must have something to do with the way auctiontastic adds the items to the cart.

Regards Thomas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×