Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,238
    Plugin Contributions
    1

    Default Multiple currencies and product filter/sorter

    V1.50 on a local server

    "product_filter_by_attribute_and_price_range" sorts products by price range using:

    PHP Code:
    if($enable_price_filter){
    $where_str .= " AND p.products_price >= ".$pfrom;
    $where_str .= " AND p.products_price <= ".$pto;

    the problem is that when changing currencies the sorter still gets the database's price, instead of the displayed price.

    Is there a way to substitute the 'p.products_price' with a field that uses the displayed price?

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,238
    Plugin Contributions
    1

    Default Re: Multiple currencies and product filter/sorter

    Looking at this further.

    The above command calls data from the database, as the 'displayed price' (in an alternative currency) is not stored in the database I think that a more significant change, than I had hoped, is required.

 

 

Similar Threads

  1. v151 Multiple currencies display and rounding in Orders screen
    By Buffoon in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 4 Oct 2013, 12:02 PM
  2. Authorize.net AIM and Multiple Currencies
    By vhjdb in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 30 Oct 2009, 03:31 PM
  3. Gift certificates and multiple currencies
    By Laszlo in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 12 Jan 2008, 08:26 PM
  4. Alpha Sorter - Category/Manufacturer Filter
    By joe90 in forum General Questions
    Replies: 0
    Last Post: 26 Mar 2007, 11:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR