Jump to content
Latest News: (loading..)

beerbee

♥Ambassador
  • Content count

    180
  • Joined

  • Last visited

  • Days Won

    3

beerbee last won the day on January 18 2018

beerbee had the most liked content!

About beerbee

  • Rank
    A rich man born in the body of a poor one
  • Birthday 11/16/1964

Profile Information

  • Real Name
    Christoph
  • Gender
    Male
  • Location
    Kulmbach Germany

Recent Profile Visitors

10,260 profile views
  1. Hi pretty nice @JcMagpie it works also using unicodes: https://www.alt-codes.net/snowflakes-symbols.php It is possible to put each of the the three and also the * in an array and let them get generated randomly. I did this the evil hardcoding way so might see this as a kind of inspiration: // Set the letter that creates your snowflake (recommended: * ) var snowletter=["&#10052;","&#10053;","&#10054;","*"] .... for (i=0;i<=snowmax;i++) { var snowlot = snowletter[Math.floor(Math.random()*snowletter.length)]; document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowlot+"</span>") } Best regards Christoph
  2. Hi, in which way is your domain now pointing to the subfolder /catalog ? The rewrite part of my .htaccess starts this way (with examples for base): <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / and ends like this: </IfModule> Best regards Christoph
  3. Hi, depends where and how your site is hosted, normally you can direct the domain to any subfolder of public_html by using your providers tools for domain settings. The .htaccess file has to be moved to the subfolder (catalog) or merged if there is already one and rewrite base would be RewriteBase / then. Best regards Christoph
  4. This can be the case with hardcoded links and as far as I know .htaccess won't do the trick, but it is not so hard to get rid of them. If you get a mixed content warning about insecure loaded elements, you could look at the page source in your browser and there search for http: and then adjust your code. You could also use Firefox and press ctrl+shift+e to start network analysis and find insecure elements. Best regards Christoph
  5. @RAC, I think the best practice now would be to go totally ssl which means regarding to the two configure files set both HTTP_SERVER and HTTPS_SERVER to https://yoursitewhatever as e.g. google plans for chrome to give a warning on every non ssl site from july on. Additionally depending on which kind of server you are there are differing ways to force ssl for everybody visiting your site using http://. have a read: Best regards Christoph
  6. Hi, what about ssl, I see you have it running on your site, but it is not configured? Best regards Christoph
  7. beerbee

    Automatically send data feed to Froogle

    Well whatever, I have to set it to 3 because without it no tax calculation (with differing taxes for e.g. food) would be done. There is an option which is checked for, but it does not exist? By the way my middle name is PIA since now, I guess. Best regards Christoph
  8. beerbee

    Automatically send data feed to Froogle

    Hi Jack, sorry, I may misunderstand you, but there is an option 3. line 402 does what I need; if (OPTIONS_ENABLED_INCLUDE_TAX == 3) { Option 2 says define('OPTIONS_TAX_CALC', (OPTIONS_ENABLED_INCLUDE_TAX == 2 ? (OPTIONS_TAX_RATE/100) + 1 : '1')); //UK. US tax rate - US is ignorded since it is 1 so maybe you meant: if(OPTIONS_ENABLED_INCLUDE_TAX == 1 || OPTIONS_ENABLED_INCLUDE_TAX == 2) $output .= "\ttax"; Best regards Christoph
  9. beerbee

    Automatically send data feed to Froogle

    @Jack_mcs, Regarding the price with tax I ended up with this: $row->price = $currencies->display_raw($row->price_no_tax, tep_get_tax_rate((int)$row->tax_id)); Another thing I had a problem with was if(OPTIONS_ENABLED_INCLUDE_TAX == 1 || OPTIONS_ENABLED_INCLUDE_TAX == 3) $output .= "\ttax"; As I have OPTIONS_ENABLED_INCLUDE_TAX == 3 the heading would a add a tab stop with title tax but the feed would not have the have tax rate (I could not find anything which would put that there in the code) nor the tab stop in it, which produced errors at merchants.google missing that tab stop. So I changed to if(OPTIONS_ENABLED_INCLUDE_TAX == 1) $output .= "\ttax"; Best regards Christoph
  10. Yes, sure. Works now as intended. Thanks! Best regards Christoph
  11. beerbee

    Continue Shopping Button for 2.3.4bs

    Hi, for shoppingcart take a look: Best regards Christoph
  12. @burt, http://template.me.uk/234bs3/product_info.php?products_id=17 39,99 can't be wrong as you seem to be using prices without tax over there: INSERT INTO products VALUES (17,10,'DVD-SPEED','dvd/speed.gif',39.99, now(),null,null,7.00,1,1,4,0,''); display_raw($product_info['products_price'], $product_info['products_tax_class_id']); can't work correctly because it uses the products_tax_class_id as tax percentage, which won't matter as long as tax for prices is not used. But this lead to my strange results. So I assume this is correct in the end: display_raw($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); Best regards Christoph
  13. I'm just guessing but I'm getting strange results with this, as it does not show prices without tax(es) and is not adding 7 or 19 percent as it should. So my naive question would be have you more than one tax rates in use over there? Because this: if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = $currencies->display_raw($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])); } else { $products_price = $currencies->display_raw($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } works as it should. Best regards Christoph
  14. Sorry, this is putting out still wrong prices, can't understand why as from what I understand this $products_price = $currencies->display_raw($product_info['products_price'], $product_info['products_tax_class_id']); should work. Best regards and thanks for the condition hint Christoph
  15. @BrockleyJohn, yes I visited merchants.google today, and it started to adjust prices saying Items updated because of wrong prices in the feed compared to website, they seem to use it since - you are right - I'm missing that code because of an old base price addon I have to use - so I will take care of that next. Thanks for pointing me there. Best regards Christoph
×