Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

aegrnberg

Archived
  • Posts

    121
  • Joined

  • Last visited

Profile Information

aegrnberg's Achievements

  1. First of all, just wanted to say thank you for this awesome contribution! Has anyone been able to get this to work with Order Re-Order? http://www.oscommerce.com/community/contributions,3407 On general.php, this is what I've got so far... while ($attribute = tep_db_fetch_array($attributes_query)) { //$attributes[$attribute['products_options_id']] = $attribute['products_options_values_id']; //clr 030714 determine if attribute is a text attribute and assign to $attr_value temporarily if ($attribute['products_options_values_id'] == PRODUCTS_OPTIONS_VALUE_TEXT_ID) { $attr_value = $attributes[$attribute['orders_products_attributes_id']]; //need to fix this line to show text attributes } else { $attr_value = $attribute['products_options_values_id']; } $attributes[$attribute['products_options_id']] = $attr_value; //end option type feature $attributes_count++; } //end while if ($attributes_count < 1) { $result .= 'Item: ' . $ordered_product['products_id'] . ' [' . $ordered_product['products_model'] . '] > ' . $ordered_product['products_name'] . ': Attributes changed<br>'; } This line is obviously not working, but I don't know how to fix it... can anybody help me? Thanks in advance...! $attr_value = $attributes[$attribute['orders_products_attributes_id']]; //need to fix this line to show text attributes
  2. Hi, I was having the same problem. For some reason I couldn't figure out to get "$from_name" and "$from_email" to work on tep_mail so I just went and changed this: tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $subject, $message, $from_name, $from_email); To this: tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $subject, $message, REVIEWS, STORE_OWNER_EMAIL_ADDRESS); After I did that, it worked. I hope it works for you too. aegrnberg
  3. Never mind... changed to this and it worked... $listing_sql = "select p.products_id, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id and s.stores_id = '" . STORES_ID . "', " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c INNER JOIN " . TABLE_PRODUCTS_TO_STORES . " p2s ON p.products_id = p2s.products_id where p2s.stores_id = '" . STORES_ID . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id order by pd.products_name";
  4. Hi hobbzilla, I would like to use the All Products contribution to work with multi-shop, but I can't seem to figure out how to change this line for allprods.php All Products v3.0 MS 2.2 with Images http://www.oscommerce.com/community/contributions,1501 Need to change this line: $listing_sql = "select p.products_id, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id $where order by pd.products_name"; I tried to change to this, but it only shows the special products: $listing_sql = "select p.products_id, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_STORES . " p2s left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and p.products_id = p2s.products_id and p2s.stores_id = '" . STORES_ID . "' and s.stores_id = '" . STORES_ID . "' and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id $where order by pd.products_name"; Thanks! Angela
  5. Which version did you install and did you install the patches after that? Here's what I installed and it works... I installed the following: Credit Class & Gift Voucher 5.18 dated 7 Nov 2006 Fix in ot_gv.php dated 28 Nov 2006 CCGV 5.18 Checkout 'ot_coupon.php' Display Fix dated 10 Dec 2006 CCGV5.18 checkout_payment.php FIX dated 24 Dec 2006
  6. Nope... not working either.... just post them as two separate posts and write which files they are okay?
  7. Hey, that link does not work for me for some reason...
  8. That's wrong, this line should still be there: tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); } Mine shows: REPLACE if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { WITH // ################# Added CGV Contribution ##################" // CCGV Contribution $order_total_modules = new order_total; $order_total_modules->collect_posts(); $order_total_modules->pre_confirmation_check(); // >>> FOR ERROR gv_redeem_code NULL if (isset($_POST['gv_redeem_code']) && ($_POST['gv_redeem_code'] == null)) {tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));} // <<< end for error // if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers) ) { // ################# End Added CGV Contribution ##################" Remember, don't count the brackets that are commented out. You should now have replaced the same number of brackets. This is why I use winmerge in addition to instructions, it makes looking at diff easier. I hope that solves it.
  9. I installed the following: Credit Class & Gift Voucher 5.18 dated 7 Nov 2006 Fix in ot_gv.php dated 28 Nov 2006 CCGV 5.18 Checkout 'ot_coupon.php' Display Fix dated 10 Dec 2006 CCGV5.18 checkout_payment.php FIX dated 24 Dec 2006 I used WinMerge to install: http://winmerge.org/ Just search for "CGV" in the files. They are hard to miss because they have been commented very visually. For example you will see in checkout_payment.php: EXAMPLE of commented mod from CGV...can't miss it!!! // #################### Added CGV ###################### if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers'); // CCGV Contribution if(tep_session_is_registered('cot_gv')) tep_session_unregister('cot_gv'); //CCGV // #################### End Added CGV ###################### Don't forget to back up!!! WinMerge also backs up the files you edit, but it's better when you already have the files separated.
  10. CCGV allows you to give out coupons for specific products or products under a specific category only... you can also limit to how many times it can be used per customer http://www.oscommerce.com/community/contributions,282
  11. I found a couple of links to what you guys might be looking for, I don't know how well they work... Multi-Stores multiple shop system (Mod within osCommerce) http://www.oscommerce.com/community/contri...arch,multi+shop Php-MultiShop (Utilizes PhpNuke and osCommerce) http://php-multishop.com/ They seem very similar except for the fact that Php-MultiShop uses PhpNuke as the "central" catalog, while you will have to create a different system for the Multi-Stores contrib if you want a "central" catalog system. Both systems have separate store catalogs and admins but they share the same customers. They also utilize one database. I'm in the beginning stage of playing around with the Multi-Stores, so I can't give any feedback just yet... Good Luck!
  12. Hi, first of all, this is an AWESOME mod! It is exactly what I needed and more. Thank you so much for this contrib!!! I do have a VERY minor problem. The country of the address when shown in the emailed invoice and account_history_info.php only shows the letter "U" which should be "United States". It works perfectly in all other places... or is there a way to not let the country field show at all? The code for the addresses for the admin invoice and emailed invoice are the same, but they come out different as mentioned above. Here is what I have: Billing address <?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?> Shipping address <?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?>
  13. Hi I had the same error and I found this, it worked for me, I hope it works for you: http://www.oscommerce.com/forums/index.php?sho...ation++SEO+URLs
  14. Hi I had the same error and I found this, it worked for me, I hope it works for you: http://www.oscommerce.com/forums/index.php?sho...ation++SEO+URLs
×
×
  • Create New...