Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "Starting at" price not the lowest price

    Quote Originally Posted by RixStix View Post
    DrByte's MySQL DB charset converter
    You mean that experimental thing that says "use at own risk"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: "Starting at" price not the lowest price

    Quote Originally Posted by DrByte View Post
    You mean that experimental thing that says "use at own risk"?
    Yes DrByte. You beat me to confessing that the DBcharset converter was found to have inserted invisible characters (possibly randomly different & invisible) that were originally blank in the price_prefix and weight_prefix of the products_attributes table. If I knew those were the only invisible gremlins resulting from the use of the DBconverter, I would probably make the edits and keep the UTF8 version. Since I can't do that, I'll step back and just not use the converter.

    After using the charset converter, I had looked through the DB for out of place characters and seeing none had thought all was fine.

    Thankfully, Ajeh saved my bacon & figured it out while still in the sandbox. It would have been a bugger to correct if discovered weeks or months after going live.
    I learned something to put in my "do not do or look for invisible gremins" memory.
    I forgot how long it takes to restore the database and website files with a 1Mb connection.

    Ajeh also found/fixed an unrelated problem with the 'keep_alive' timer that should not have existed. The website and DB backups were made immediately prior to installing keep_alive. Restoring the backup files did not remove all traces of keep_alive for some reason.
    Last edited by RixStix; 27 Jun 2014 at 02:28 PM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: "Starting at" price not the lowest price

    coffee, donuts and a movie sent your way. TNX for the assist.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "Starting at" price not the lowest price

    Quote Originally Posted by RixStix View Post
    coffee, donuts and a movie sent your way. TNX for the assist.
    Wow. Thanks for your generous support.

    If you have a copy of that old unconverted database in a zip file on a server somewhere, PM me with a link where I can download it for some testing, and I'll see if I can fix up whatever was missing from the script. No urgency to it ... just whenever you have some time.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "Starting at" price not the lowest price

    Thanks for sending me a test dataset.

    I've confirmed that my beta utility does indeed fall short in handling those specific fields. Haven't determined "why". BUT there is a good workaround.

    I tested a_berezin's convert_db2utf8.php utility http://www.zen-cart.com/downloads.php?do=file&id=1318 and it handles the data just fine. (It uses a different conversion strategy, which puts the onus on the MySQL server to do all the conversion logic, instead of on PHP like mine did.)
    So, I'm recommending that a_berezin's utility be used instead of mine.

    I also just posted an update to a_berezin's plugin to make it compatible with PHP 5.4-5.6
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: "Starting at" price not the lowest price

    Thank you DrByte.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. Replies: 0
    Last Post: 27 Nov 2011, 06:04 PM
  2. Qty Discount - Display lowest price & "Start At" text
    By kappaluppa in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 34
    Last Post: 2 Aug 2010, 04:50 AM
  3. "Starting At" price is empty OR price doubles when add to cart
    By infocom in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 22 Mar 2008, 10:40 PM
  4. "Starting at" price on the product listing page
    By Three Sisters in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 4 Dec 2007, 09:39 PM

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