Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tilapia Film

Archived
  • Posts

    47
  • Joined

  • Last visited

Everything posted by Tilapia Film

  1. So to use the QMS module, do you need an SSL or can you just have Quickbooks take the secure info on their site? (Just the CC #). Does the SSL have to be on the same domain as where your cart is? I have a shared hosting account with several domains.... but the SSL is on another domain than the cart. Or should I be able to switch it? What is the difference between Hosted vs. Desktop? How the hell do you get this connection ticket? Sorry for all the questions on this.... but I am totally lost and haven't done any SSLs before... so still learning how it all works. And this is a hard install! Thanks, Jeff
  2. I installed the "Custom sort order field for products in admin/categories.php" Mod: http://addons.oscommerce.com/info/2541 So that I can custom sort my products in each of my catagories. And after some difficulty, it is working except for one thing..... it sorts in the category section: http://www.saltonseadoc.com/shop/catalog/index.php?cPath=23 But NOT on the main page: http://www.saltonseadoc.com/shop/catalog/index.php notice the Sonny Bono positioning. Anyone have an idea what could be the problem here? Jeff
  3. From what I can find, this seems like it could be a problem of it writing to the database. Does this seem like the issue?
  4. I just installed the contribution "Custom sort order field for products in admin/categories.php" But I am having some problems when the admin tries to execute the sort. I get this error: Fatal error: Call to undefined function: tep_set_product_sort_order() in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/admin/categories.php on line 36 Here is the code in the area from 19 to 46: if (tep_not_null($action)) { switch ($action) { //sort order case 'beginsort': $sorting = true; break; tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $HTTP_POST_VARS['cPath'])); case 'setsortorder': for ($i=0, $n=sizeof($HTTP_POST_VARS['products_id']); $i<$n; $i++) { tep_set_product_sort_order($HTTP_POST_VARS['products_id'][$i], $HTTP_POST_VARS['sortorder'][$i]); } $sorting = false; tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $HTTP_POST_VARS['cPath'])); break; //end sort order and here is the specific line 36 that it speaks of: tep_set_product_sort_order($HTTP_POST_VARS['products_id'][$i], $HTTP_POST_VARS['sortorder'][$i]); Any help would be greatly appreciated!!!! Thanks so much. Jeff
  5. I am installing USPS Lables and the installation went just fine, except toward the end the instructions say: Line 416 after: default: if (isset($oInfo) && is_object($oInfo)) { $heading[] = array('text' => '<b>[' . $oInfo->orders_id . '] ' . tep_datetime_short($oInfo->date_purchased) . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased)); if (tep_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . tep_date_short($oInfo->last_modified)); $contents[] = array('text' => '<br>' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method); Insert (before the "}"): $rqShipping = tep_db_query("SELECT title FROM " . TABLE_ORDERS_TOTAL . " WHERE orders_id = " . $oInfo->orders_id . " AND class = 'ot_shipping'"); $shipping = tep_db_fetch_array($rqShipping); $ship_method = substr(preg_replace(array('/^United States Postal Service/', '/^US Postal Service/'),'USPS',$shipping['title']),0,-1); $contents[] = array('text' => '<br>' . TEXT_INFO_SHIPPING_METHOD . ' ' . (preg_match('/Priority/',$ship_method)? $ship_method : '<b>' . $ship_method . '</b>')); if (preg_match('/^USPS/',$ship_method)) { } So before the last } I inserted the code as instructed. However when I tried to go to order page in admin..... I got a Parse error: parse error, unexpected $ in on line 409 which around there reads like this: if (isset($oInfo) && is_object($oInfo)) { $heading[] = array('text' => '<b>[' . $oInfo->orders_id . '] ' . tep_datetime_short($oInfo->date_purchased) . '</b>'); which I NEVER changed. I merely pasted code below this area. But the interesting thing is that if I REMOVE this line.... everything seems to work fine. So my question is.... what is this line? Is it ok to remove? And how can I fix my parsing error??? Thanks so much !!!
  6. Sorry for talking to myself so much here. So yeah I assume in catalog/shopping_cart.php I have this code: <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> So I assume this is suppose to define where it returns after you hit the CONTINUE SHOPPING button... but it still continues to return to the prior product, even though FILE_DEFAULT is defined as index.php Please let me know if you have any ideas. Thanks!!
  7. Yeah I assume in catalog/shopping_cart.php I have this code: <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  8. ok yeah I just found it in filenames.php.... and it is defined correctly.... but still my shopping cart routes to a link and back to the product..... hmmmm willl keep looking , but if you have any suggestions...
  9. After you add something to your shopping cart, you are in the shopping cart and then there is a CONTINUE SHOPPING button. Rather than go back to prior product you were on, I would like to send the customer back to the opening page. How do I define this? I am assuming I need to define FILENAME_DEFAULT somewhere, but where? THANKS!! jeff
  10. ok I figured it out.... wow that new 2Checkout module is great!!!!
  11. I installed the latest version of 2Checkout payment module. I installed everything, but now when it is coming back to my cart to finalize the order, I get this error: Warning: reset(): Passed variable is not an array or object in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/classes/navigation_history.php on line 130 Warning: Variable passed to each() is not an array or object in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/classes/navigation_history.php on line 131 Warning: reset(): Passed variable is not an array or object in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/classes/navigation_history.php on line 130 Warning: Variable passed to each() is not an array or object in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/classes/navigation_history.php on line 131 Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/classes/navigation_history.php:130) in /home/content/s/a/l/saltonseadoc/html/saltonseadoccom/shop/catalog/includes/functions/general.php on line 29 It is just a big white page with all those errors. Any idea what the problem could be? Your help is GREATLY appreciated!!! Jeff
  12. I would like to streamline my checkout process as much as possible and I am using Paypal Website Payments Standard. So I am wondering, does this contribution support Website Payments Standard? Also, can I eliminate the account creation process all together? I just don't see the point to create an account on my site, when I will have their email and order on my Paypal biz account. That is all I really need. I am very interested in using Paypal so that I can do automatic USPS shipping labels with postage and everything. Thanks very much for your help!
×
×
  • Create New...