Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

talon177

Archived
  • Posts

    403
  • Joined

  • Last visited

Everything posted by talon177

  1. thanks for that info, i gotta test that out to see if it works or not on mine
  2. One thing i noticed is that the stats_ad_results.php counts in shipping and tax, so you still don't really no how much profit you make from each ad. For instance lets say 1 item totals 37.88 but 5 was shipping and 2.88 was tax, and item sold was 30 and item cost was 28 which equals 2 profit. But then u spent 15 dollars for advertising. Currently theres no way to factor in how much you really made, I guess the best solution for now would be just to show total sale item, that way you can just sales - cost = profit, but then you would still have to figure out what profit came from which ad.
  3. In the html output does our email address really need to be shown?
  4. Ok so thanks to ecartz the qty input now works for the master product but not the slave, i'm wondering what do i need to change exactly on input/master_listings.php to make this work From: case 'MASTER_LIST_BUY_NOW': $lc_align = 'center'; $lc_valign = 'top'; if ((STOCK_CHECK == 'true')&&(tep_get_products_stock($listing['products_id']) < 1)) { $lc_text = TEXT_STOCK; } elseif ((STOCK_CHECK == 'false')&&(tep_get_products_stock($listing['products_id']) < 1)) { $qty_array = array(); for ($i=0; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing['products_id'], $qty_array); } } else { $quantity = tep_get_products_stock($listing['products_id']); $qty_array = array(); for ($i=0; $ns = (($quantity < 20) ? $quantity : 20), $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing['products_id'], $qty_array); } } break; To: ???? The code for product_info.php is From: <td align="right" class="main"><?php if ($product_info['products_quantity'] > 0) { echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array); } elseif ((STOCK_CHECK == 'false')&& ($product_info['products_quantity'] < 1)) { $qty_array = array(); for ($i=0; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); } echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array); } else { echo TEXT_STOCK; } To: <td align="right" class="main"><?php echo TEXT_QUANTITY . ' ' . tep_draw_input_field('Qty_ProdId_' . $product_info['products_id'], '1', 'size="4"'); echo tep_draw_separator('pixel_trans.gif', '30', '10'); ?> But now 1 question that just came up is stock quantity since urs can enter any number
  5. ecartz: Thanks for the quick fix for input quantity, i'll try the other one next! Also i Just ran into another problem, if you select manufacturer the buy now buttons doesn't work it just shows at the end of the extention products_id= and not products_id=1
  6. Was wondering if someone knew how I could code slave hidden files that are showing up in the boxes below to link to the master product instead of the slave product, also master products with prices, and then make master products with price 0 not show up whatsnew box shopping cart box specials box etc... Thanks for the help in advance.
  7. Anyone happen to know what new code is needed for version 1.1.5 to make quantity drop down to an input? I can get it to somewhat work by using echo TEXT_QUANTITY . ' ' . tep_draw_input_field('Qty_ProdId_', $product_info['products_id'], 'size="4"'); but the input area keeps saying value="28" which is referring to $product_info['products_id']
  8. Instead of hiding slave products from whats new and new products i think a nicer solution could be to actually let them show but point them into the master instead, anyone know the proper code to set this up. This way instead of hiding all slaves from these places users could see them and when they click on them it'll bring them to the master, thus adding new products to old masters will let users know that something new is there.
  9. Right now one problem i see is that if you have slaves that belong to multiple products, and users do a search they'll see double results and also you have double inventory.
  10. I think these 2 mods combined together are great, while this post mentions the order im wondering about tax issues in California. Im wondering if i could change the sort order to 1. Sub-Total 2. Discount Coupons 3. Tax 4. Shipping 5. Gift Vouchers 6. Total The reason for doing this order is because i dont think most people would want to give a discount on shipping, and that in california shipping isnt taxed therefore shipping should be after tax, and then finally the gift voucher would pay for 1-4 then the total bill left over. Has all the bugs between ccgv and paypal 2.3 been solved from the previous post? Thanks!
  11. Just wondering how does everyone like the html newsletter, does this also support html code, and can guest subscribe to the newsletter as well?
  12. The select option with the + - quantity is pretty nice! Also what would be cool is if users could input numbers as well and still use the + - quantity.
  13. When setting slave products to hidden is there any other places that need to be fixed besides the ones listed below, and would the fixes from 1.1.2 be compatiable manufacturer whats new search new products quantity select input shopping_cart specials product notification for slaves reviews tell a friend buy now button on master product products_new
  14. File Modification: -> includes/languages/english.php Find (Line 50): // header text in includes/header.php Replace with: // header text in includes/warnings.php ** Remove File(s) ** includes/header.php //REMOVE FROM ORIGINAL OSC FILES (Note: includes/header.php is now includes/warnings.php, * If new contributions look for original osC stylesheet.css use above code instead) includes/footer.php //REMOVE FROM ORIGINAL OSC FILES (Note: includes/footer.php is incorporated into templates/osC/main_page.tpl.php * If new contributions look for original osC stylesheet.css use above code instead)
  15. Just noticed that stylesheet.css in the original osC 2.2MS2 is the same as BTS 1.3 templates/osC/stylesheet.css and the only file in BTS 1.3 that is calling the original stylesheet.css is info_shopping_cart.php ***** info_shopping_cart.php ***** Find (Line 25): <link rel="stylesheet" type="text/css" href="stylesheet.css"> Replace with: <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>stylesheet.css"> ***** FILES/FOLDERS NO LONGER NEEDED ***** stylesheet.css // REMOVED FROM ORIGINAL OSC -> Note: If new contributions look for original osC stylesheet.css use above code instead checkout_process.php // DELETE FROM CONTRIB DUPLICATE OF ORIGINAL OSC CODE download.php // DELETE FROM CONTRIB DUPLICATE OF ORIGINAL OSC CODE redirect.php // DELETE FROM CONTRIB DUPLICATE OF ORIGINAL OSC CODE
  16. When using this contrib, aren't product notifications rendered useless for slave files if they're hidden? Since you can no longer go to these pages, to subscribe? Is it possible to make it so that if a user subscribes for product notification on the master product that it'll also subscribe them to the slave products so if anything changes they'll be notified and pointed back to the master product url?
  17. Here's some things that I think should be adjusted. This will be added to the contrib area as well. ***** templates/osC/main_page.tpl.php ***** Find (Line 4-9): <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> Replace with: <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>"> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>"> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> ***** templates/osC/popup.tpl.php ***** Find (Line 4-8): <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> Replace/Add with: [COLOR=red]<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">[/COLOR] <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> ***** info_shopping_cart.php ***** Find (Line 22-23): <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> Replace with: <title><?php echo TITLE; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  18. Added Paul's info above to a new update in the contrib 29 May 2004 - Meta Tags Bug Fix
  19. How's everything going, I was overlooking the BTS and was noticing that all the breadcrumbs throughout the pages are different and was wondering if this needs to be updated, some show for example $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2); while others show $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); Also is there any files that you no longer need from the core osC files once installing BTS?
  20. After installing v2.2 i'm wondering if this code inside catalog/checkout_success.php will conflict with the Purcahse Without Account contrib. Should these 2 below be combined? If so know what the best method is? Thanks! //begin PayPal_Shopping_Cart_IPN tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); } else if ((isset($HTTP_GET_VARS['action']) && $HTTP_GET_VARS['action'] == 'success')) { $cart->reset(true); // unregister session variables used during checkout tep_session_unregister('sendto'); tep_session_unregister('billto'); tep_session_unregister('shipping'); tep_session_unregister('payment'); tep_session_unregister('comments'); tep_session_unregister('paypal_order_id'); } //end PayPal_Shopping_Cart_IPN // BoF Purchase Without Account // tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); // Added a check for a Guest checkout and cleared the session - 030411 if (tep_session_is_registered('noaccount')) { tep_session_destroy(); tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL')); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); } // EoF Purchase Without Account }
  21. Quick question, i just removed paypal ipn v2 and installed v2.2 but it says Fatal error: main(): Failed opening required '/home/abc/public_html/includes/modules/payment/paypal/database_tables.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/abc/public_html/admin/paypal.php on line 27 Line 27 shows require_once DIR_FS_CATALOG_MODULES . 'payment/paypal/database_tables.php'); but isnt the database_tables located inside the includes folder and not the admin/includes folder But if i look inside my configure.php file it shows that DIR_FS_CATALOG_MODULES points to catalog/includes/modules, how weird
  22. If this is possible, it would be great to have the title in the product admin page, as well as easypopulate =D
  23. Is it possible to put a title for each of the additional images under the pic? Like for example if u had 6 additional pics u would see the pic, and under it title1, pic2, title 2, etc... Thanks
  24. Happen to know where you can get a list of california zip codeS?
×
×
  • Create New...