Jump to content
Latest News: (loading..)

whodah

Members
  • Content count

    47
  • Joined

  • Last visited

Profile Information

  • Real Name
    Who Dah?
  1. Hi all, I searched, but to no avail. When a customer makes a purchase using PayPal Express Checkout, I get the PayPal email notification all nifty like. The only monetary items I receive is the order total. (i.e. no breakdown of items vs. shipping vs. tax, just the order total.) And this is OK, no big deal. But is there a way to include the Order ID # in that email notification? As it stands now, the Description is null. An example of a PayPal confirmation email looks like: Description = (null) Unit price = $200.00 USD Qty = 1 Qty Amount = $200.00 USD Subtotal = $200.00 USD Total = $200.00 USD Payment = $200.00 USD Is there a way to make that (null) Description say like "Order ID ####"? Thanks!
  2. Hello, That is all working nifty, thanks. 9 x products in "New Products For December" looks great on the desktop, and works on the phones how it is supposed to as you mentioned in your post above. But on phones, one has to swipe down ~5 screens to get to my categories menu (located in left-hand menu on desktops) in order to get past said 9 x products in "New Products For December". Hence I was hoping to only have 3 x products in "New Products For December" on mobile devices, but 9 for desktops. (Thus the customer only has to swip down 1, maybe 2 pages.) Make sense? Thoughts?
  3. Hi all, I'm using Bootstrap and I'd like to change the count of products in the "New Products For ____" box to be say 9 for desktop users (which is what it is now) and 3 for mobile users. (To help eliminate swipe-swipe-swiping to get to my Categories menu which shows up at the bottom for my mobile users underneath the "New Products For ____" box (and on the left-hand menu for my desktop users)). Any ideas/pointers? Thanks!
  4. Awesome. I've been using WinMerge. But I'm tucking this bit 'o knowledge away for the future - thanks! Nice! Best news I've heard all week. :)
  5. Interesting solutions, I shall toy with both. Thank you much!
  6. Hello, I've been searching, but can't find anything. Thought I'd ask before custom coding: I'd like to assign an attribute called WYSIWYG (What you see is what you get) and products that have that attribute set show up in their typical category, plus a second category 'WYSIWYG'. I.e. if selling a "Red Rose", it'd typically be under the category "Flowers", but if the attribute called WYSIWYG is assigned because one has a photo of an exact "Red Rose" for sale rather than just the generic product "Red Rose", then the product "Red Rose" shows up in both the category "Flowers" and the category "WYSIWYG". Does anything like that exist? Thanks!
  7. In the spirit of "what near enough 100% of shops should have as basic features": Would the notion to have 'Reviews' enabled/disabled in the admin configuration (rather than having to hard code their addition/removal in product_info.php) be appropriate for this thread? (Ditto with model number, which appears to always show if defined. No option to enable/disable it other than to hard code product_info.php.) Thanks for all your hard work! Edit: added 'model number' above
  8. Hi all, Thanks for the replies. Jack_mcs's solution (or at least thought process as I haven't coded it yet) works fine, and is indeed near the kludge I used in 2.2. I was thinking/hoping there was some sort of hook/plugin that I could use on the newer version of OSC vs. modifying core code. Thanks for the help, all!
  9. Hello, In this case, on the fly as the final replacement(s) will be dynamic. Thanks, -Jeremy
  10. Hello, Okey dokey, gotcha. I thought there might be a hook, or something, that could be used rather than modifying core code. Thanks!
  11. Hello, I'd like to insert some PHP code to replace terms/words in an item description automatically. I kludged this in 2.2, but was wondering where the best place and/or approach (least obtrusive) would be for BS 2.3.4? I.e. if a product description is: The best __DVD__ around. I'll replace "__DVD__" with " DVD or Blu-ray " making the customer displayed description: The best DVD or Blu-ray around. My replacements are a bit more complex than this example, but you get the idea. :) Thanks!
  12. Hello, My apologies, I did not realize database_tables.php was being depreciated until my posts above were moved from another thread into this one. Sorry about that! Does this mean that those wishing to do table prefixes will be doing it 'by hand' so to speak? Food for thought: I personally like to see all of my wordpress tables together, OSC tables together, gallery tables together, etc. etc. (via prefixes) for both ease of human-reading and to avoid table name conflicts with another package in the same database. I don't mean to stir the pot, just to mention it in case something clicks down the road. And while we may have different opinions, I fully respect the programming team's decision(s). Thanks for all your hard work, -Who Dah?
  13. Hello, A few more. Thanks! file: admin/store_logo.php line: 29 from: tep_db_query("update configuration set configuration_value = '" . tep_db_input($store_logo->filename) . "' where configuration_value = '" . STORE_LOGO . "'"); to: tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($store_logo->filename) . "' where configuration_value = '" . STORE_LOGO . "'"); file: includes/modules/content/header/cm_header_buttons.php and includes/modules/content/header/cm_header_logo.php and includes/modules/content/header/cm_header_breadcrumb.php line: 56, 57, 58 from: tep_db_query("insert into configuration (configuration_title, ... to: tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, ... line: 62 from: tep_db_query("delete from configuration where configuration_key in ('" . implode("', '", $this->keys()) . "')"); to: tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); file: includes/modules/content/header/cm_header_search.php line: 64, 65, 66, 70 (same thing as above) includes/modules/content/product_info/cm_pi_reviews.php line: 68-71, 75 (same thing as above)
  14. Hrm. I can't get my post to show up in one post? Continued: To: if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) { ought to fix it. Thanks for all your hard work, -Who Dah?
  15. Hello, file: includes/modules/boxes/bm_specials.php Line: 33 refers to tables by direct name rather than variable name. Thus, if someone modifies includes/database_tables.php to include say a prefect of 'osc_', this breaks. From: if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from products p, products_description pd, specials s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) {
×