Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

zdep

Pioneers
  • Posts

    4
  • Joined

  • Last visited

Everything posted by zdep

  1. Open the file catalog/includes/modules/auctions/classes/oscAuctions.php and fix the condition < // Only run function pagingFunctions() if the called file is auctions.php or account.php < if ( false !== (basename($_SERVER['SCRIPT_NAME']) === FILENAME_AUCTIONS || basename($_SERVER['SCRIPT_NAME']) === FILENAME_ACCOUNT) ){ --- > // Only run function pagingFunctions() if the called file is auctions.php or account.php or (product_info.php with param auction_show=1) > if ( ( false !== (basename($_SERVER['SCRIPT_NAME']) === FILENAME_AUCTIONS || > basename($_SERVER['SCRIPT_NAME']) === FILENAME_ACCOUNT) > ) || > ( > (false !== (basename($_SERVER['SCRIPT_NAME']) === FILENAME_PRODUCT_INFO)) && > isset($_GET['auction_show']) && ($_GET['auction_show'] == 1) > ) > ){
  2. hello, can anybody say me why in class auctions is notice about pagingFunctions() // Only run function pagingFunctions() if the called file is auctions.php or account.php if ( false !== (basename($_SERVER['SCRIPT_NAME']) === FILENAME_AUCTIONS || basename($_SERVER['SCRIPT_NAME']) === FILENAME_ACCOUNT) ){ $this->pagingFunctions(); } When function pagingFunctions() is called only in auctions.php or account.php file, any auctions for product on the second or next page doesn't work. The auction doesn't show. I would like to remove this condition, but I don't know the source code so deeply. Thanks for you advice. Zdenek
  3. Hi, you are right. Find ... // BOF AUCTIONS if( isset($this->contents[$products_id]['auction_id']) && $this->contents[$products_id]['auction_id'] > '0' ){ $this->total += $currencies->calculate_price($this->contents[$products_id]['auction_price'], $products_tax, '1'); } // EOF AUCTIONS and replace with // BOF AUCTIONS if( isset($this->contents[$products_id]['auction_id']) && $this->contents[$products_id]['auction_id'] > '0' ){ $products_price = $this->contents[$products_id]['auction_price']; $qty = '1'; } // EOF AUCTIONS It will works ...
  4. Yes, I have to agree with JangoF, it is excelent work. But I have one little problem. Page couter doesn't work correctly for first record on any next page. I try to explain on example: I have products splited up to two pages. I look for product (via search box) which is usually on first row at second page. I have got a result and I click to the row. And now I'm redirected to the first page instead of the second page. I'm thinking that $count (on line number 865) have to start from 1 P.S. excuse me my english
×
×
  • Create New...