Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] shop by price


Guest

Recommended Posts

Installed the Shop by Price Add on. Getting this error Warning: Missing argument 3 for currencies::display_price(), called in D:\xampp\htdocs\shop17\includes\modules\product_listing.php on line 161 and defined in D:\xampp\htdocs\shop17\includes\classes\currencies.php on line 76

 

and Warning: Missing argument 3 for currencies::display_price(), called in D:\xampp\htdocs\shop17\includes\modules\default_specials.php on line 30 and defined in D:\xampp\htdocs\shop17\includes\classes\currencies.php on line 76

 

Line 76 from includes/classes/currencies.php is this:

function display_price($products_id, $products_price, $products_tax, $quantity = 1) {
  global $customer_id;

 

Line 161 from includes/modules/product_listing.php is this:

$lc_text['products_price'] = ' ' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . ' ';

 

Line 30 from includes/modules/default_specials.php is this:

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $default_specials['products_image'], $default_specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials['products_id']) . '">' . $default_specials['products_name'] . '</a><br><s>' . $currencies->display_price($default_specials['products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($default_specials['specials_new_products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</span>');

 

How do I get rid of these errors.

 

Thanks in advance

Link to comment
Share on other sites

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 months later...

I don't know if anyone is following this thread anymore but just in case...

 

I installed this contribution recently and also have the Enhanced Product Listing installed which gives me additional sort drop downs in the product info page. The drop downs in the Shop_by_price page show as:

 

PriceNUM_ORDER

Product NameAPHA_ORDER

PriceREVERSE_NUM_ORDER

Product NameREVERSE_APHA_ORDER

 

The words in red shouldn't be there, thelist should read:

 

Product Name

Price, low to high

Poduct Name, reverse

Price, High to Low

 

It also doesn't present the short description included in the Short Desc contribution I have installed.

 

Can anyone help to fix this, I've been looking for hours and an getting no where

Edited by Brooks552
Link to comment
Share on other sites

I don't know if anyone is following this thread anymore but just in case...

 

I installed this contribution recently and also have the Enhanced Product Listing installed which gives me additional sort drop downs in the product info page. The drop downs in the Shop_by_price page show as:

 

PriceNUM_ORDER

Product NameAPHA_ORDER

PriceREVERSE_NUM_ORDER

Product NameREVERSE_APHA_ORDER

 

The words in red shouldn't be there, thelist should read:

 

Product Name

Price, low to high

Poduct Name, reverse

Price, High to Low

 

It also doesn't present the short description included in the Short Desc contribution I have installed.

 

Can anyone help to fix this, I've been looking for hours and an getting no where

 

Anyone?...please?

 

If anyone is stillmonitoring this thead and can held it would be appreciated.

Link to comment
Share on other sites

  • 2 months later...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

--------------------------------------------------------------------------------

 

Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7a mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.8 Server at www.atickmobiles.com.au Port 80

 

 

please help i have installed it normally and it shows up but when you click this one shows.

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...