Jump to content

Eirik

Members
  • Content count

    64
  • Joined

  • Last visited

  1. Thanks Scott, I read through that before but didn't catch that the example about the marketing was how it alerted customers to the available discount. Going to have a long look at it this weekend, thanks so much for the speedy reply earlier. Eirik.
  2. Scott, trying to find which products on your test site have better together setup, all I can see is the quantity discount.
  3. Eirik

    Discount CODE for osCommerce 2.2-MS2

    http://addons.oscommerce.com/info/4269 I wouldn't recommend using the auto installer, just use the version that was uploaded by rajonbh on march 21st
  4. Eirik

    Online Gift Cards

    Just figured I would post this in case someone sometime has a similar issue, perhaps this will help them out. I pretty much scraped the gift certificate addon and made my own, it had a host of problems that just in the end made it very undesirable. However to the meat of the matter. there is a line in the checkout_process.php $order_totals = $order_total_modules->process(); So any payment/credit type edits/addons should be inserted after that point otherwise all the tax computations are not complete yet. Anyway I hope this helps someone. Just a final thought, I found it handy to be able to see what variables were actually being passed as. What I ended up doing was using the redirect link at the end of the checkout_process.php to pass the variables via the url to checkout_success.php. The line you are looking for is tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')); and you can pass variables like this tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'ordertotal='.$order->info['total'].'&regulartax='.$order->info['tax'], 'SSL'));
  5. I've been using http://addons.oscommerce.com/info/5527 for my online gift cards and everything works great except I have just noticed that it does not remove the shipping tax from the cards balance. I have tested this multiple times with different shipping options and every time the order is processed, and in the admin panel the order is correct tax and all but when it subtracts the used amount from the gift card balance it somehow drops the sales tax from the shipping. Yes shipping is set as a taxable good, and yes it does calculate the final order with the shipping tax included, the only place that it drops the tax is when it alters the gift card balance in the database. If anyone has any ideas of suggestions where this error is occurring I would love to hear them. Thank you in advance for your time and consideration. Eirik
  6. // BOF Anti Robotic Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { include(DIR_WS_MODULES . FILENAME_CHECK_VALIDATION); if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } // EOF Anti Robotic Registration v3.1 Just something I noticed when I was installing this on my gift card redemption, it should be // BOF Anti Robotic Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { include(DIR_WS_MODULES . FILENAME_CHECK_VALIDATION); if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } if (!$entry_antirobotreg_error) { // EOF Anti Robotic Registration v3.1 then close the bracket once you run your form processes.
  7. Eirik

    Sitemap SEO

    So I've been looking over this code and searched this forum and I'm trying to reduce the size of the indent when show products in a category is on. $spacer_string = '', $spacer_multiplier = 1; I tried playing with those settings as mentioned in another response on this thread for increasing the indent but even there I couldn't alter the look. Any help would be much appreciated. Thank you much for your time and consideration.
  8. Eirik

    Discount Codes for publication

    I would strongly suggest looking at http://addons.oscommerce.com/info/4269 the 3.33 full version that was uploaded on march 21 2009 rajonbh is good, I found this contribution to be very versatile. Stay away from the auto installer though it is total trash and only works if you have a totally clean install otherwise it louses things up bad.
  9. you are missing the period . after </a><br>' the code should be '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>'. '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' );
  10. Eirik

    Header Tags SEO

    Solan I don't personally use tinymce but I looked at the code that is included with the header tags contribution and it calls for the insertion of this <?php // START tinyMCE Anywhere if (HEADER_TAGS_ENABLE_TINYMCE_META_DESC == 'true' || HEADER_TAGS_ENABLE_TINYMCE_CATEGORIES == 'true' || HEADER_TAGS_ENABLE_TINYMCE_PRODUCTS == 'true') { if ($action == 'new_product' || $action == 'new_category' || $action == 'edit_category') { // No need to put JS on all pages. $languages = tep_get_languages(); // Get all languages // Build list of textareas to convert $str = ''; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { if (HEADER_TAGS_ENABLE_TINYMCE_META_DESC == 'true') $str .= "products_head_desc_tag[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_TINYMCE_CATEGORIES == 'true') $str .= "categories_htc_description[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_TINYMCE_PRODUCTS == 'true') $str .= "products_head_description[".$languages[$i]['id']."],"; } //end for each language $mce_str = rtrim ($str,","); // Removed the last comma from the string. // You can add more textareas to convert in the $str, be careful that they are all separated by a comma. echo '<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>'; include "includes/javascript/tiny_mce/general.php"; } } // END tinyMCE Anywhere ?> and I think it should be <?php // START tinyMCE Anywhere if (HEADER_TAGS_ENABLE_TINYMCE_META_DESC == 'true' || HEADER_TAGS_ENABLE_TINYMCE_CATEGORIES == 'true' || HEADER_TAGS_ENABLE_TINYMCE_PRODUCTS == 'true') { if ($action == 'new_product' || $action == 'new_category' || $action == 'edit_category') { // No need to put JS on all pages. $languages = tep_get_languages(); // Get all languages // Build list of textareas to convert $str = ''; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { $str.="products_description[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_TINYMCE_META_DESC == 'true') $str .= "products_head_desc_tag[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_TINYMCE_CATEGORIES == 'true') $str .= "categories_htc_description[".$languages[$i]['id']."],"; if (HEADER_TAGS_ENABLE_TINYMCE_PRODUCTS == 'true') $str .= "products_head_description[".$languages[$i]['id']."],"; } //end for each language $mce_str = rtrim ($str,","); // Removed the last comma from the string. // You can add more textareas to convert in the $str, be careful that they are all separated by a comma. echo '<script language="javascript" type="text/javascript" src="includes/javascript/tiny_mce/tiny_mce.js"></script>'; include "includes/javascript/tiny_mce/general.php"; } } // END tinyMCE Anywhere ?> But I have to be honest I have no idea why you would ever want to use a wysiwyg on header tags and titles. Anyway like I said I don't use this myself but I would give that a try.. maybe put you on the right path at least.
  11. Just a follow up for anyone else having this same problem. The problem was caused by Ultimate SEO attempting to validate to W3C standard so just turning this option off in the SEO section of the admin configuration panel fixed the issue.
  12. I know this post was from ages ago but does anyone happen to know what this "patch" that Mike is referring to to is or know of another thread where I can find the answer? Thank you in advance for your time and consideration.
  13. So I have gone through and reinstalled Ultimate SEO three times, I tried with 2.1d original and with 2.7 and the same problem occurs whenever a error is (credit card is invalid etc) detected in checkout you lose your osCid. I thought about forcing cookies but I would rather not have to take that step. Is there a way for Ultimate SEO to not apply itself during the checkout stage?
  14. So I have have come up against a issue and while I'm still searching I figured I would post here as well. I have installed 2.1d updated and not any time an error happens within the checkout process the user is dumped back to the login page and the shopping cart is emptied, so pretty much loses the osCid. If anyone has found a resolution to this issue I would be greatly appreciative. Thank you in advance for your time and consideration.
  15. I've been looking at editing in an additional exclusion, or rather and inclusion. I want to setup someway to encourage customers who haven't purchased in awhile into making another purchase. The way I have it envisioned is issuing discounts like normal but I want to target specific accounts, now the exclude accounts does almost exactly that however any new accounts get added into the allowed accounts which is no good because the discounts are one use only and a customer could theoretically just create new accounts to reuse the discount. these are going to be pretty heavy discounts so I need to lock in specific users and no one else. If anyone has done anything like this I would love to hear how you approached it. I have looked at other gift voucher contributions but I really would like to stay within the frame work of this contribution because it is solid and works well with my accounting system.
×