Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

badjuju

Members
  • Content count

    340
  • Joined

  • Last visited

Everything posted by badjuju

  1. badjuju

    [Contribution] Dynamic MoPics

    Does anyone know if MoPics has to be installed before Dynamic MoPics is installed? I'm unsure if an admin interface is needed. Or are the images dynamically added based on configure.php settings and the existence of the images in big_images and thumbs folders? Thanks.
  2. Another oversight, but I got the weight update working. Forgot one file: /catalog/addtocart.php :roll: Thought I added it. Thanks Linda for this contribution.
  3. Has anyone been able to get this working - Linda's Attribute Sorter and Copier v5.1? I know Linda is working on a contrib which packages all 3, but my guess is people with only this contrib have been able to update the weights of products based on attribute selected. Thanks.
  4. Thanks Linda. Would love to try this out. I guess I can use the time now to install MS1 and get ready for this. Thanks again! :lol:
  5. badjuju

    USPS v2.2 Error

    Has anyone seen this error before? I'm using oscommerce v2.2 snapshot from 01162203. I looked at all files and uploaded and renamed general.php_v1.148+USPSMethods_v2.2 to their respective names. Since I'm on a newer version, I did not patch the files because they were pretty much up to date. Please help. Thanks Error Message: Warning: Variable passed to each() is not an array or object in /home/moda/public_html/store/catalog/includes/modules/shipping/usps.php on line 245 Warning: Cannot add header information - headers already sent by (output started at /home/moda/public_html/store/catalog/includes/modules/shipping/usps.php:245) in /home/moda/public_html/store/catalog/includes/functions/general.php on line 23 Line 244 - 248 read: if ($transit && ($order->delivery['country']['id'] == STORE_COUNTRY)) { while (list($key, $value) = each($transreq)) { if ($http->Get('/' . $api_dll . '?' . $value)) $transresp[$key] = $http->getBody(); } } Lines 20-23 read: if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); }
  6. Hi, I have installed the allprods contribution and it works fine. However, when I access the page, the output shows up in 2 columns, 5 rows each and spans 2 pages. I would like to display it the same way the categories listing is displayed - i.e: Name, price, image, etc Can someone please help? I'm do not know php and still new to oscommerce. I tried changing the allprods.php file and changed 50% to 100% - silly guess - thought that would make it span the entire page, but it did not work. A detailed explanation will be greatly appreciated. Thanks.
  7. badjuju

    Help with Paypal IPN please

    That's the odd part. When I turn off SSL, it works. When I turn it on it does not work. The odd thing is if someone uses a different pc, it works also. Not exactly a solid enough reason for me, because what if the customer returns over and over again. Oh well - guess this is one mod I'm not going to be able to fix.
  8. badjuju

    Help with Paypal IPN please

    Floridagal, did you do anything to fix it. I finally found out that this was my problem. I'm using SSL and when I select check_out, I get a weird SSL message.
  9. badjuju

    [Contribution] Family Products v 1.0

    Blueline, Just one more thing I noticed. You might want to drop all tables containing orders information - except of cource (orders_status). The reason is if the the other tables like orders_products have data in them and your contrib is applied, a customer can create an order and it goes through. But on the last page, it adds extra items to the order info page. This is because the order_id key still exists on those tables from past orders. Here's a post: http://forums.oscommerce.com/viewtopic.php?t=32080 Thanks.
  10. badjuju

    [Contribution] Family Products v 1.0

    Thanks for the contrib, blueline.
  11. Ok, I'm dumb. I'm not sure I understand everything Bao recommended and how they'll apply to oscv2.2. My understanding is you're saying implement Ian's SID killer and Buy Now link to forms and the second part of item #2 is optional. For 3 and 4, can you tell us which code to change and the files affected. I'm new to php and oscommerce. Lastly, is there a final version of Ian's sid killer as a contrib? I've seen several posts which started as early as October and November and I'm not sure if they're still valid in v2.2 or even the most recent snapshots. These posts seems to make sense for people experienced with osc and/or php.
  12. Can you post what line was missing and what you did to fix it? Thanks.
  13. badjuju

    USPS v2.2 Error

    Thanks frozengeek. I 'll see if this works - even though I tried this already. That's why I asked ugottasalsa what he did. oh well
  14. badjuju

    USPS v2.2 Error

    Thanks. Now one more question - how do I patch the files. I know the doc said use patch filename.diff, but it;s not working. Please tell me the exact commands to use - something like an idiot's guide :)
  15. badjuju

    [Contribution] Family Products v 1.0

    One more thing, to change the label from 'Customerswho have purchased this item have also purchased:' to 'Related Products:', go to catalog/includes/languages/english/products_info.php This is the entry to change: define('TEXT_FAMILY_PRODUCTS', 'Related Products:');
  16. badjuju

    [Contribution] Family Products v 1.0

    Yes - I got it working. Here's what I did: Add this line to application_top.php: define('FILENAME_FAMILY_PRODUCTS', 'family_products.php'); //FAMILY_PRODUCTS The database query should be: ALTER TABLE PRODUCTS ADD products_family CHAR(12); This is what caused the problem when you select an item: The code on the new file is: <?php // This is used with the Family Productions contribution. include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); } ?> This is the code I had in my original file: <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> I used a compare tool to find the differences between my products_info file and the new products info file. Originally, I added this code block right below the original code block: <?php // This is used with the Family Productions contribution. include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); } ?> I noticed that the new code block has an unmatched closing '}'. When this was removed, it worked. This is how it looks now: <?php include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); ?> <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> If you go select a product which belongs to a product family, you'll see 2 sections: one is labelled 'Customers who have purchased this item have also purchased:' and 'Customers who bought this product also purchased'. You can easily change the label of the new products family to something more meaningful.
  17. badjuju

    [Contribution] Family Products v 1.0

    Ok, I made this entry in application_top and placed family_products in catalog/includes/modules according to the readme file. Still not working. Any ideas? define('FILENAME_FAMILY_PRODUCTS', 'family_products.php'); //FAMILY_PRODUCTS
  18. badjuju

    [Contribution] Family Products v 1.0

    This is a little weird, but here's what I did. On the products_info.php file, the original had: <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> I removed the code at first, and used the new code: <?php // This is used with the Family Productions contribution. include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); } ?> Since I was still getting the errors, I went ahead and removed the new code and kept the original. No more errors, but something is definitely off. If I have both blocks of code, I get this message: Parse error: parse error in /home/moda/public_html/store/catalog/product_info.php on line 190 The error references this block of code: // This is used with the Family Productions contribution. <?php include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); } ?>
  19. badjuju

    [Contribution] Family Products v 1.0

    Like I said, I added the field to the database using the sql script provided. The mod comes with instructions and that's what I'm using. But as someone in an earlier post stated, there are errors in the install file and he needed to tweak it. Nice is you have some experience with sql or php, but not for newbies. There's nothing in the install file that mentions application_top.php.
  20. badjuju

    [Contribution] Family Products v 1.0

    Hmm...I'm probably breaking this but this is what I've done so far. The sql text reads: ALTER TABLE PRODUCTS ADD family_products CHAR(12); From the error message, I deleted family_products and changed it to products_family. Now, back to the problem is the products into file
  21. badjuju

    [Contribution] Family Products v 1.0

    The other problem I had is when I go to Admin - Catalog - Products and I select an item, I get this SQL error. I'm new to php and mysql. Please help. Thanks 1054 - Unknown column 'p.products_family' in 'field list' select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_family from products p, products_description pd where p.products_id = '12' and p.products_id = pd.products_id and pd.language_id = '1'
  22. badjuju

    [Contribution] Family Products v 1.0

    This is the block of code from the original file: <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> The new file does not have this.
  23. badjuju

    [Contribution] Family Products v 1.0

    Has anyone seen this before? I'm using the new family_products.php file. One thing I noticed is I the sql file had errors so I entered it manually. Any ideas? Here's the block of code from /home/moda/public_html/store/catalog/product_info.php: <?php // This is used with the Family Productions contribution. include(DIR_WS_MODULES . FILENAME_FAMILY_PRODUCTS); } ?> Thanks. Warning: Failed opening 'includes/modules/FILENAME_FAMILY_PRODUCTS' for inclusion (include_path='') in /home/moda/public_html/store/catalog/product_info.php on line 178
  24. For address_book_details.php, change $account to $entry. $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . $entry['entry_country_id'] . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array,tep_get_zone_name($entry['entry_country_id'], $entry['entry_zone_id'], $entry['entry_state'])) . ' ' . ENTRY_STATE_TEXT;
×