Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chfields

Archived
  • Posts

    1,258
  • Joined

  • Last visited

Everything posted by chfields

  1. What sql update??? I don't see anything about sql in the download.....
  2. Thanks for your help guys....guess I'll have to figure something else out....
  3. If you check my site and tell me what I'm doing wrong...I still only have 2 info boxes that it works on, I tried your suggestion above but it still isn't right....check it out and tell me what you think......
  4. I do have the BTS mod, could that be causing the problem??
  5. I used the boxes.php that you supplied. I do have a heavily modded site, but the only mod I can think of that has anything to do with the infoboxes is category box enhancenent
  6. I have a problem where only 2 of my boxes are changed, reviews and we proudly accept, everything else stays the same.....
  7. While this will not put orders in admin, it will let you know what customer ordered so you don't have to call and ask them. You may also want to consider adding this in case they don't click continue on paypal site and return to your site to finish transaction Just in case someone doesn't click continue to get back to your site here is a mod to include into your PayPal module to you can see what the customer ordered on your PayPal payment notification (just in case they don't return to your site to complete the process and generate an invoice) - BACK UP BACK UP BACK UP change the following code: function process_button() { global $order, $currencies, $currency; if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') { $my_currency = $currency; } else { $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5); } if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { $my_currency = 'USD'; } $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } $process_button_string = tep_draw_hidden_field('cmd', '_xclick') . tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) . tep_draw_hidden_field('item_name', STORE_NAME . ' ' . $xx) . tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('currency_code', $my_currency) . tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) . tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); return $process_button_string; } the above code snippet replaces the code snippet in the catalog/includes/modules/payment/paypal.php file look for function process_button() { and then copy and paste and replace that section of code with the code above
  8. Is there a mod for admin approval of reviews for MS2 or update?? I know about the one for MS1...
  9. Do you have v_products_model? or is it just a typo from copy and paste? I see _products_model
  10. http://www.oscommerce.com/forums/index.php?showtopic=64945
  11. Well, I've already switched my site to MS2 so it's too late.......I'll just have to add the attributes by hand....
  12. I tried to delete that line and it gave me errors
  13. go to includes/application_top.php at the end of the file put your cursor next to the last > hit delete and save
  14. I like this new mod, however, I have one problem. My products and their attributes are running on MS1 and while I managed to get all the products moved from MS1 to MS2 using EP, your new one is not MS1 compatible. Any chance of you making one that is compatible with both MS1&2. I would like to be able to download the attributes from MS1 and upload to MS2. Thanks
  15. I have a question....If i install this on an existing site and then download will it include the attributes already assigned to my products??
  16. I installed this and am having the same problem, it will only update 1 at a time. I tried checking the source code from their site, but it looks the same....I may have to pull it out and just use the order-drop-down-button-in-shoppingcart:
  17. I installed order-drop-down-button-in-shoppingcart and now whenever I update or change the quantity it goes to the advanced search page.....any ideas??? You can see it at my test site My test site
  18. I heard back from him and here is the code Please remember to back up before you try!!!!!! In catalog/includes/modules/product_listing.php files about line 147 locate the following lines; Code: case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $listing['products_name'] . TEXT_NOW) . '</a> '; break; ......and change to..... Code: case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $lc_text = tep_draw_form('cart_quantity', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=add_product')) . '<input type="text" name="quantity" value="1" maxlength="2" size="2"> ' . tep_draw_hidden_field('products_id', $listing['products_id']) . tep_image_submit('button_buy_now.gif', TEXT_BUY . $listing['products_name'] . TEXT_NOW) . '</form>'; break; This should give you a quantity box next to your buy now button in product listing pages (ps. make sure you've activated Buy Now button in product listings in the admin panel) Now when u change the quantity value for and click buy now that quantity of the product will be added to your cart!
  19. I have that installed, but what he is asking about is actually on the main page next to each product, very cool. I just e-mailed the shop owner to find out how he did that. If I get an answer I will post it.
  20. I just tried to install this on a heavily modded ms2. I was able to get everything installed properly but when I go to catalog in admin I get parse error in admin/categories.php line 1536 these are the lines in question 1534<!-- footer //--> 1535<?php require(DIR_WS_INCLUDES . 'footer.php'); ?> 1536<!-- footer_eof //--> 1537<br> 1538</body> 1539</html> 1540<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I don't see any problem here...can anyone help???
  21. I know how you feel, when I first came here I knew nothing of php or mysql and now I can help other people with simple problems. I'm trying to give back what I have gotten from this great forum.
  22. <?php /* All Products */ echo '<a href="' . tep_href_link('allprods.php', '', 'NONSSL') . '"></a>' ?>
×
×
  • Create New...