Jump to content

jgeoff

Members
  • Content count

    55
  • Joined

  • Last visited

Everything posted by jgeoff

  1. jgeoff

    Header Tags for novices

    This might be conflicting a little with Chemo's Ultimate SEO URLs contrib... I'm no longer getting any META descriptions and keywords for categories and even the home page -- but I am with product info pages. Or maybe that's designed, I forget now -- but do you think some logic could be added so that IF the description and keywords fields are blank THEN use some default description and keywords? Thanks for any ideas! JG
  2. jgeoff

    New York Sales Tax

    I don't think it really matters how it's done. I updated it as combined as that's how it's been since the contribution was first posted until you decided to change it. ;) You don't NEED TO assign a New York State tax rate of 4% then add the city taxes -- you can just use the combined state/city taxes as obviously all the cities are in New York State. My client operates out of Long Island, NY, so they only need to charge NY sales tax and no other states. I have NO "Tax Zones" or "Tax Rates" set up, and just the one "Taxable Goods" Tax Class. It works for what my client needs. The tax chart I posted is the most accurate, currently, if your are going to do it this way, but if you want to do it the other way, then subtract the 4% for each line in the SQL. Then follow the rest of mickeymouse's instructions...
  3. This contrib seems to be working great in RC2a -- Thanks!
  4. jgeoff

    New York Sales Tax

    In your Admin > Modules > Shipping... edit the shipping methods you use as: Tax Class (Taxable Goods) That makes shipping taxable
  5. jgeoff

    Get 1 Free

    I GOT IT!!! :) B) I'm not a programmer so maybe this isn't the best or most efficient way to do this, but it's working! Wayne, if you have any suggestions to tidy this up, please let me know. ADDING "BUY X GET Y" TO THE PRODUCT LISTINGS: In /catalog/includes/modules/product_listing.php replace the case 'PRODUCT_LIST_NAME': section with case 'PRODUCT_LIST_NAME': $lc_align = ''; $get_1_free_query = tep_db_query("select pd.products_name, pd.products_id, g1f.products_free_quantity, g1f.products_qualify_quantity from " . TABLE_GET_1_FREE . " g1f, " . TABLE_PRODUCTS_DESCRIPTION . " pd where g1f.products_id = '" . (int)$listing['products_id'] . "' and pd.products_id = g1f. products_free_id and pd.language_id = '" . (int)$languages_id . "' and status = '1'" ); if ((isset($HTTP_GET_VARS['manufacturers_id'])) && (tep_db_num_rows($get_1_free_query) > 0)) { $free_product = tep_db_fetch_array($get_1_free_query); $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>' . '<p class=get1free2>' . sprintf (TEXT_GET_1_FREE_PROMOTION, $free_product['products_qualify_quantity'], $product_info['products_name'], $free_product['products_free_quantity'], $free_product['products_id'], $free_product['products_name']); } elseif (tep_db_num_rows($get_1_free_query) > 0) { $free_product = tep_db_fetch_array($get_1_free_query); $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> ' . '<p class=get1free2>' . sprintf (TEXT_GET_1_FREE_PROMOTION, $free_product['products_qualify_quantity'], $product_info['products_name'], $free_product['products_free_quantity'], $free_product['products_id'], $free_product['products_name']); } elseif (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a><br>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> <br>'; } break; /* ORIGINAL case 'PRODUCT_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a><br>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> <br>'; } break; */ Add to /catalog/includes/languages/english/index.php (This can be different than the wording in product_listing) // Get 1 Free define('TEXT_GET_1_FREE_PROMOTION', 'Buy %u %s & Get %u <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=%s') . '">%s</a> free!'); (The only problem I notice is that for some reason the first %s isn't displaying. It's coming out as "Buy 1 & Get 1 Y free!" for some reason -- any ideas?) I also changed the stylesheet to include a separate class to display for index than the product_info page. These are currently my personal settings: .get1free { font-family: Verdana, Arial, sans-serif; font-size: 12px; background: #ffb3b5; border: 1px; border-color: #000000; } .get1free2 { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff2222; } Again, if it can be cleaned up (do we need the last two else's in there?) let me know. JG
  6. jgeoff

    Get 1 Free

    Yet another feature request, in addition to the above (and the "Get This Item Free With Purchase of X" request)... I'd like to be able to add 2 or more free (distinct) items with the purchase of another item ("Buy X and get Y and Z Free!") Wishful thinking? ;) Thanks, JG
  7. jgeoff

    Catalog as homepage

    In your web hosting cPanel (or whatever you use) you can set up a redirect so anyone going to http://www.yoursite.com/ will automatically be redirected to http://www.yoursite.com/catalog/
  8. jgeoff

    UPS Module

    UPSChoice 1.8.3 works for me
  9. jgeoff

    Free shipping per product 1.1

    Okay, I pretty much got it to work -- BUT -- all this does is subtract the # of items before calculating per-item shipping. What I need is for it to subtract the free shipping product weights before I pass it along to the UPS module... :/
  10. jgeoff

    Free shipping per product 1.1

    Has anyone gotten this add-on working on the latest version of osC? :huh:
  11. jgeoff

    New York Sales Tax

    My bad, I didn't assign the tax rate to the shipping module :blush: ( Edit time is too short on these forums :-" )
  12. jgeoff

    Country-State Selector

    My bad: I thought that was a double-quotation mark (") :blush:
  13. jgeoff

    New York Sales Tax

    I just discovered a major problem w/ the add-on: New York State requires tax to be charged on intrastate shipping as well. Is there a work-around? Thanks, JG
  14. jgeoff

    Country-State Selector

    That makes most of the code (until the HTML) turn grey if I do that, in Notepad++, so that doesn't seem exactly right, syntax wise...?
  15. jgeoff

    New York Sales Tax

    The New York State Tax By Zip Code add-on does work well, and FWIW, I just updated the SQL file to reflect the tax rates that went into effect Dec 2007
  16. jgeoff

    Country-State Selector

    Okay, I removed the contrib from the Admin area... it's just not necessary IMHO. FWIW, I believe the error had something to do with this (adding the } ): Line 152: Replace: if ($error == false) { with: // +Country-State Selector } // End if (!$refresh) if (($error == false) && ($refresh != 'true')) { // -Country-State Selector
  17. jgeoff

    Country-State Selector

    I just installed version 1.5.5 and it seems to be working okay, except I get the following error on admin/customers.php which normally means I made a mistake, right? Parse error: syntax error, unexpected T_CASE in /path/to/admin/customers.php on line 221 Line 221 for me is: case 'deleteconfirm': but the problem could be anywhere. I went thru it twice and it "looks" right, but I'll have to try again. My question is, what functionality does this contrib add to customers.php, and is it necessary? Also, is it designed behavior to have the numeral "1" added to State/Province when it goes to manual entry? Thanks, JG
  18. jgeoff

    Header Tags for novices

    I don't know what the problem could be on your end, I've had no problems with FF. But, the admin area does "time out" after a certain amount of time (not sure how long), and I have to log in again after inactivity. But certainly not every action, so I don't know.... But if I get some time in the near future, and you need exact answers, then we'll see... I'd rather GemRock work on my few feature requests... ;)
  19. jgeoff

    Credit Card Number Encryption

    VERY informative, thanks!! (Really... I'm not being a jerk -- it's infinitely helpful!) But if anyone can actually answer my question, that'd be cool, too.... ;)
  20. jgeoff

    Get 1 Free

    Cool, Wayne, that'd be great. Also... Any simple way to add the "Buy This Get That Free" notification that's displayed on the product_info page to also be shown underneath the product's name on the category pages (index.php?cPath=X) ? Thanks, JG
  21. jgeoff

    Credit Card Number Encryption

    I've been trying to get Credit Card Number Encryption to work, to no avail. Not sure if it's the add-on itself, or the standard credit card module not working properly...? I wanted to combine it with the Remove Credit Card Numbers add-on. It's a shame, because I REALLY need this working for a client... Can someone please tell me if anything needs to be changed to the "do not use" credit card module for this to work??
  22. If I'm reading that right (I'm not sure, it seems conflicting), to REMOVE the price from being displayed on the product page, edit product_info.php, look for and change the current code as in my previous post to this: if ($product_info['products_price'] < $product_info['products_map']) { $products_price = MAP_WARNING; } else if // ...keep the rest... My MAP_WARNING text is "Add to Cart for Pricing", and that's all that's displayed on the product page. If I read you wrong, please ask again (no need to SHOUT, though) ;)
  23. jgeoff

    Header Tags for novices

    Necessary or not, it now works great -- thanks again! B)
  24. jgeoff

    Header Tags for novices

    Hi Ken - I'll clarify... it doesn't not work, but if you view source in, say, Firefox (that's color-coded), you'll see that it's unexpected and might cause a minor problem -- I'm not sure. This includes quotation marks a few times, but as we know, standard HTML should be <meta name="content"> rather than <meta="content "quoted" content"> -- it's just not clean. If it's possible to strip them, or change the double-quotes to single-quotes, I think it'd work out fine. I'm no programmer, so.... just thinking aloud here. ;) e.g., <meta name="description" content="Our newest PMD recorder is small enough to fit in the palm of your hand, but it has features that make more expensive, full-sized field recorders green with envy. It can run for hours on just four AA batteries. It records on Compact Flash media cards which you can find in any discount store, and will store more than 36 hours of mono on a single card. If audio quality is your key requirement, you get over an hour of pristine, uncompressed, 16-bit .wav files. Editing can be achieved right there in the field using either of two editing modes, or you can use your favorite audio editing application by transferring files to your PC-the PMD660 even has its own USB port. XLR inputs, phantom power, built-in mics and more-it's all there in the PMD660. Highlights WINNER of the 2005 Radio World "Cool Stuff Award"WINNER of the 2005 Radio Magazine "Pick Hit Award"Smallest PMD yet-fits in your handUses inexpensive, widely available Compact Flash media (CF)Operates for four hours on four AA batteriesT">
  25. jgeoff

    Get 1 Free

    PS - Here's a feature request. How about adding the opposite notification. Like, when you click on the "free" product it will say something like "Get this free with the purchase of X". That'd be cool. But you'd have to include a work-around if the item is available as a bonus from multiple other products, so something like, "Get this free with the purchase of one of these products: X, Y, Z." Just a suggestion ;)
×