Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

matta

Pioneers
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Real Name
    Matt

matta's Achievements

  1. I have the same problem as @@roquetsynce: It doesn't matter what you set the Suffix Order to, they always report back in the same order. For example: Base # ID1 1 oz - Suffix = 6, Order = 1 2 oz - Suffix = 7, Order = 1 Apple - Suffix = 00, Order = 2 Pear - Suffix = 01, Order = 2 Orange - Suffix = 02, Order = 2 Ordering a 1oz Apple could result in the code "AP1-00-6" instead of the desired "AP1-6-00". I found out what is happening is that the php function "implode" the converts the array to a string does not sort by the key, instead sorting by the order it was typed in. What we need to do is use the php function "KSORT" just before the code is generated. In catalog\admin\classes\shopping_cart.php Find (about line 358): $products_code = $products['products_model'] . $separator . implode("/", $attribute_code_array); Add BEFORE: ksort($attribute_code_array); I've added this to the contribution update V1.2 along with some other corrections.
  2. @@discxpress, could you put your files up as a contribution in the 2.3 section so the rest of us can get our hands on them? Thanks!
  3. I recently downloaded and installed 'On The Fly' Auto Thumbnailer using GD Library for v2.3.1, but it doesn't seem to be working as expected. The thumbnails on the product listing page appear to be resized. But when I go into the product_info page, none of the large images are resized. Nor is anything in the Admin section even though I've installed the extra code. Anyone know how to get the large image thumbnails to be properly resized, or know of a contribution that does this already? Thanks
  4. Hi Matt,

    Sorry, it took so long-opening a store in 2 weeks(lots to do). In image.php, change the $image_dir to blank, nothing between the single quotes. This may resolve your problem. If you have any problems, feel free to contact me, I'll check back when I can. Good luck.

    1. matta

      matta

      Hi Frank, I know this is ancient history, but I'm only now getting back to the project I started in the spring. Thanks for the tip about removing the directory name, that solved the issue of "No Image Found."

       

      Another question for you: In OSC 2.3.1 I was hoping that the Dynamic Image Resizer would serve thumbnail size images in products_info page as well. It does appear to cut their file size in half, but even what appears as a thumbnail is being served at full pixel...

  5. matta

    Hi Badbo,

    I saw your post on oscThumb contribution that it works on 2.3.1. I installed v1.1.2 like you had said, and while it doesn't generate any errors, it doesn't seem to do anything either. All my thumbnails on the products page are still full size when I right click and check "image properties".

    Can you step me through what you did to get this to wor...

  6. Hi Frank,

    Question for you about Dynamic Image Resizer. Does it work with 2.3.1? I made the changes, but it displays the "No Image Found" graphic for all the items. But when I click on a thumbnail to bring up the larger image it displays it fine (odd). Wondering if you had any insight.

    Thanks!

    Matt

  7. I'm curious about this too. This looks like a useful contribution, but not if it won't work on 2.2 RC2a. Will it work? Or what do we need to watch for to make it work? Thanks!
  8. Found a glitch that would allow the Specials price to show up in the XSell even if it had expired or was turned off. catalog/includes/modules/xsell_products.php Line 22, Find: $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, products_price, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, specials_new_products_price Replace with: $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, products_price, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price (removed the last ", specials_new_products_price")
  9. I've got the same exact issue with the same exact errors. Does this have to do with USPS changing it's URL for the API's? Any help would be appreciated. THANKS
  10. Hi Folks, I've got 1.1b installed and it works fine for me, except when I try to review orders I've made. When I click on My Account and then "View the orders I have made", "View" I get the error: 1054 - Unknown column 'products_discount' in 'field list' select orders_products_id, products_id, products_name, products_model, products_price, products_discount, products_tax, products_quantity, final_price from orders_products where orders_id = '2' [TEP STOP] I can't seem to locate where this error is at in the code of catalog/account_history_info.php. Can anyone spot it? THANKS
  11. Ignore the first post, this one solution takes care of both problems... OK, here's what I've determined: There are 2 issues going on with xispita10's mod: 1) The folders create names from the Category name, but replace spaces with underscores (I assume this was done to accomodate web servers that don't like spaces in filenames). So, a category name of "Bells and Whistles" becomes a folder name of "bells_and_whistles". Using $categories_name_array[$language_id] to grab the category name still includes spaces and won't resolve to the proper folder. 2) The $language_id is wrong: Previously in the admin/categories.php, the code loops through $language_id['id'] and sets the values for each language (English, German, Spanish are the 3 defaults). When it ends, it leaves $language_id as the last value (3 in this example, or Spanish). If you're lazy like me and haven't filled in any of the fields other than English, the value will be blank. So, when it tries to find $categories_name_array[$language_id] (which would be the blank Spanish value), it returns nothing, resulting in a missing directory. Solution: Replace xispita10's code: tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . $categories_name_array[$language_id] . "/" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); With: tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_output_generated_category_path_fs($categories_id) . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); Any additional thoughts to make this better?
  12. OK, here's what I've determined: There are 2 issues going on with xispita10's mod: 1) The folders create names from the Category name, but replace spaces with underscores (I assume this was done to accomodate web servers that don't like spaces in filenames). So, a category name of "Bells and Whistles" becomes a folder name of "bells_and_whistles". Using $categories_name_array[$language_id] to grab the category name still includes spaces and won't resolve to the proper folder. Solution: Replace xispita10's code: tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . $categories_name_array[$language_id] . "/" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); With: tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_output_generated_category_path_fs($categories_id) . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'"); 2) The $language_id is wrong: Previously in the admin/categories.php, the code loops through $language_id['id'] and sets the values for each language (English, German, Spanish are the 3 defaults). When it ends, it leaves $language_id as the last value (3 in this example, or Spanish). If you're lazy like me and haven't filled in any of the fields other than English, the value will be blank. So, when it tries to find $categories_name_array[$language_id] (which would be the blank Spanish value), it returns nothing, resulting in a missing directory. Solution: Though maybe inelegent, I'd recommend hardcoding the $language_id to the number 1. This will force the category name to be (presumably) in the store owner's first language choice. Any additional thoughts to make this better?
  13. I've got this same problem on RC2a, even after implementing xispita10's mod: 1) Add a new product and choose an image. 2) When I click "Preview", the image appears fine. 3) When I click "Insert", then check the Admin page or the Product page, the image is gone. 4) Image is in the proper subfolder. Why aren't the admin and product pages finding the image? Seems the location is not being written to the database. Why? Thanks for your help
  14. I was curious if anyone had any information on contributions for Revolution MoneyExchange? Saw a big write up on them in USA Today this week and was wondering if anyone has looked into it?
  15. Hi folks, We have build to order products, meaning nothing is in stock. The customer will purchase and pay for an item off the web site and when we receive the order we begin production. Is there a way to specify quantity Delivery Schedules much like quanity price breaks? For instance, for any item, the more they order, the longer it will take us to make. So: Qty 1-5 takes 2 weeks Qty 6-10 takes 4 weeks Anyone heard of such a beast? Thanks!
×
×
  • Create New...