Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mattyb

Archived
  • Posts

    152
  • Joined

  • Last visited

Everything posted by mattyb

  1. I've searched throught the previous pages and didn't see anything but there are so many that I could've missed this one. I get the following error when attempting to download the complete file: Fatal error: Maximum execution time of 60 seconds exceeded in /home/blacksw/public_html/catalog/admin/easypopulate.php on line 349 Is there any way to change the max execution time so that I can download the file. I really need the file. Thanks in advance.
  2. So has anyone ever updated just the model numbers before. Our POS system for our retail store crashed and all of the item numbers got messed up. I'm just looking to update the model number in osC. Is there a way to do it? After thinking about this for a while it doesn't seem like it's possible.
  3. Ok so I've downloaded 2.79b and had it installed. I'm having an issue with the model numbers downloading. If the model number happens to be letters or is a full 12 numbers long they won't download. How do I go about getting them to download.
  4. I believe mibble was referring to my question from the previous page. If I need to enter an arbitrary model number for the products that don't have one I can do that. I have run into the issue of EP creating an insane amount of categories when it inserts the file into the db. I know that my file is in the correct format, well at least I hope. Here's what I have for the fields at the top: v_products_model v_products_image v_products_name_1 v_products_description_1 v_products_price v_categories_name_1 v_categories_name_2 v_categories_name_3 v_categories_name_4 v_categories_name_5 v_categories_name_6 v_categories_name_7 EOREOR I had installed v 3.0 and don't have some of the mods installed that are incorporated into the file. Should I scrap v 3.0 and use another version or do I need to comment out some of the code. I'm just extremely frustrated at this point. I've used EP in the past without any trouble and it seems now that it's making it a heck of a lot harder than it should. Thanx all.
  5. It appears that if the model number is left empty it looks at the image name as the model number. And it just so happens that some of our image names are rather long. Is this something where I should just put a 0 in the model number so that the file is read correctly or is there another course of action?
  6. Thanx matrix. You were correct. Any thoughts on this one: 309427 Brass Handle Assembly.jpg... ERROR! - Too many characters in the model number. 12 is the maximum on a standard OSC install. Your maximum product_model length is set to 25 You can either shorten your model numbers or increase the size of the field in the database. This product is a repeat of an earlier one and this time it does not have a model number in this instance. The other thing is that the 309427 is not even listed in the tab delimited file. Any thoughts. ?
  7. I'm still running into the same error. I did a find/replace all in excel to the file and that line in particular now looks like this: 5 pc. Shepherd\'s Crook toolset 28" H Am I missing something?
  8. Just a suggestion. EP is great for exporting item info. but how about customer/order info. It'd be great if it could export a file with all customer info. and order info. Just a thought. I don't think there's anything out there that does this unless I've missed it. Just a thought. Matt
  9. Okay here's the error I'm getting. After a bunch of commenting and deleting I'm ever so close. Below is my error: Filename: cartupload.txt | 5526 | 3189-9.jpg | 4-Fold Arc | This 4-fol | 59.95 | Fireplace | Screens | | | | | Updated | 5423 | 1050.gif | 5 pc. Shep | 1050 5 pc. | 119.95 | Fireplace | Toolsets | | | | | Updated 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's Crook toolset 28" H', INSERT INTO products_description (products_id, language_id, products_name, products_description, products_url) VALUES ( '29', 1, '5 pc. Shepherd's Crook toolset 28" H', '1050 5 pc. Shepherd's Crook toolset in Black Wrought Iron. 28" H', '' ) As you can see it starts, updates the first two records and boom, I get nothing. I'm not the best with SQL so when I get the 1064 error without any specific line to look at I'm lost. I do think it's around line 2062 or so depending upon what you've deleted. Can anybody help me on this one? Thanx everyone.
  10. Bill, Thanks for the help. I wanted to stay away from the $checkoutlogo b/c that's different from the checkout button and doesn't fit the flow of our page. But I added the following to the general.php file and it works perfectly: $sts->template['checkoutbutton'] = '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; I hope this helps others if they're looking for an alternative to the checkout tags already included with this contrib.
  11. I think that this is a fairly easy question. I'm looking to use the checkout button but I've noticed there's no tag for it. Can I just put: $sts->template['checkoutbutton'] = blah blah blah into the general.php file located in /includes/modules/sts_inc/ or would this cause a serious problem. Just looking for a confirmation before I go ahead and do it.
  12. This would be good but then I would have to go back into each individual item and reset the date available everytime it's out of stock.
  13. Is there a contrib. out there that will allow you to assign a timeframe to products when they're out of stock? I want something that will say Out of stock...Product can be expected in X days. I searched through the contribs. but didn't see anything. Thanx all. Matt
  14. Mark, In the admin side of the cart double check your configuration. If you've enabled the default template, check to see if the Index template is enabled as well. If it is, you're going to need to edit index.php.html. I hope this helps. Matt
  15. STS Plus will use the css file located in your template directory.
  16. Rigadin, You hit the nail on the head. I completely forgot I had that installed. I had actually planned on removing but completely forgot. I do have another question if reference to the best way of utilizing the template system. If we were looking to offer multiple parts for one item, what would be the best way to go about it? Say it was a refridgerator with a parts diagram and we wanted to offer 20 parts. Would it be best to use the master/slave option or hardcode the parts list into the page? Awesome contrib. It has really made my life 10 tens easier. Matt
  17. I'm not sure if anyone has run into this issue. We get this error: Fatal error: Cannot instantiate non-existent class: infoboxdefault in /home/blacksw/public_html/catalog/includes/boxes/product_notifications.php on line 48 This only happens when people log into their account and actually try to view items. The cart works fine if you add the items to the cart first and then login into your account but not the other way around. I'm a little confused.
  18. Ok so if anyone wants to add a back button here's how I did it. Add the following line to wherever you want on the template page <A HREF="javascript:history.back()"><?php echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a> Now look for this around line 193: <?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?> change it to: <?php echo //'<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?> and add this: <A HREF="javascript:history.go(-2)"><?php echo tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING); ?></a> it should now look like this: <?php echo //'<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?><A HREF="javascript:history.go(-2)"><?php echo tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING); ?></a> I was running into the issue of the back button now going back far enough. If you looked at an item and then added it to the shopping cart, clicked on continue shopping it would bring you back to the item page. You could then click back and it would bring you back to the shopping cart. So I hacked my way around it. When you click on continue shopping now it will take you back to the product listing page. Hope this helps others out. Sorry to clog up the forum with stupid posts.
  19. Anyone add a back button for the product info. pages? I'm trying to add one but am having a bit of difficulty. Here's what I have so far: /* $sts->start_capture(); $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; } else { '<a href="' . javascript.history.go(-1)'">' . echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>';} $sts->stop_capture('backbutton'); */ I have put this into sts_user_code.php. I do get some errors with the javascript line. I'm not sure on the proper format. Can someone please off a little help? Thanks a million.
  20. Nevermind folks. I read through all of the posts and found it was this piece of code that needed to be added curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); All is well. Great contrib. and addons this go around!
  21. Ok I upgraded to the 1.2b version and am now getting this dreaded error: I've checked both fedexdc.php files to make sure we're in production and that the our url is defined at the top. Any thoughts as to where to look now?
  22. Ok so I installed the contrib. wrong the first time. I went back and fixed the error I made in the modules.php file but now get this error when attempting to click on Modules from the admin side: Parse error: parse error, unexpected T_CASE in /home/bower515/public_html/catalog/admin/modules.php on line 67 Here's the beginning part of my modules.php file. I have to be missing something easy but I've just been making so many mods lately my eyes are starting to cross <?php /* $Id: modules.php,v 1.47 2003/06/29 22:50:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $set = (isset($HTTP_GET_VARS['set']) ? $HTTP_GET_VARS['set'] : ''); if (tep_not_null($set)) { switch ($set) { // START STS PLUS 4.0 case 'sts': $module_type = 'sts'; $module_directory = DIR_FS_CATALOG_MODULES . 'sts/'; $module_key = 'MODULE_STS_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_STS); break; // END STS PLUS 4.0 case 'shipping': $module_type = 'shipping'; $module_directory = DIR_FS_CATALOG_MODULES . 'shipping/'; $module_key = 'MODULE_SHIPPING_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_SHIPPING); break; case 'ordertotal': $module_type = 'order_total'; $module_directory = DIR_FS_CATALOG_MODULES . 'order_total/'; $module_key = 'MODULE_ORDER_TOTAL_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_ORDER_TOTAL); break; case 'payment': default: $module_type = 'payment'; $module_directory = DIR_FS_CATALOG_MODULES . 'payment/'; $module_key = 'MODULE_PAYMENT_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_PAYMENT); break; } } $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) { switch ($action) { case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { if( is_array( $value ) ){ $value = implode( ", ", $value); $value = ereg_replace (", --none--", "", $value); } tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; case 'install': tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; case 'install': case 'remove': $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $class = basename($HTTP_GET_VARS['module']); if (file_exists($module_directory . $class . $file_extension)) { include($module_directory . $class . $file_extension); $module = new $class; if ($action == 'install') { $module->install(); } elseif ($action == 'remove') { $module->remove(); } } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class)); break; } } ?> Any thoughts?
  23. I think it was included in there twice.
  24. I'm looking to customize the way products are displayed. I was wondering if anyone has customized it so that the products are listed 3 rows by 3 columns so there's a total of nine products listed on each page. I've seen this done on other shops before but wasn't sure how to do it. Does this go back to the product_listing.php page or should I be looking some other place. Thanks Chris for the awesome contrib. It is truely a lifesaver/timesaver. Matt
  25. Yep, I'm an idiot. Forgot to take something out of the configure.php when I upgraded from STS v3. But I'm still having trouble with the stylesheet. You can take a look at the links from the previous post.
×
×
  • Create New...