Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by beerbee

  1. 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
  2. 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
  3. Unable to have Products appear under Categories

    Hi, If I understand the screenshot correctly the selected category has no sub categories but products in it? Then something must be wrong with index.php or /includes/modules/product_listing.php, would be my first guess, have you done any changes to one of those? 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. Changing the text size in 2.3.4 BS Edge

    Hi, for 1) If I get you right and you have also very long product names look here: for 2) it would be useful to know which version of oscommerce you have in use. look in your root directory can you find a stylesheet.css file there or can you find a user.css file? One of those should be the place to apply changes, which again depend on your version of oscommerce. Best regards Christoph
  8. 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
  9. Hi, Burt posted SQL commands, which you could have put simply inside of the SQL tab in phpmyadmin, I think you could still do it that way. Have you tried to reenter your your lengthy product names in the admin? If that doesn't work something went wrong. Best regards Christoph
  10. 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
  11. 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
  12. Contribution for AJAX image upload

    Hi, you could try to add some information. Is this a changed admin/categories.php? If so are there commented changes in it that could give a hint? If not what is the file name? Which is the date of the file? Best regards Christoph
  13. Changing the text size in 2.3.4 BS Edge

    Hi, you should try to find out what css rules are applied, and then add your changes to user.css, this will overwrite the rules of other css files as it gets loaded last. Best regards Christoph
  14. Hi, it seems to me that this part if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = $this->format_raw($new_price); } else { $products_price = $this->format_raw($product_info['products_price']); } $data['product:price:amount'] = $products_price; is missing to add taxes to the price which leads merchants.google to "adjust" from the price (with tax) given in product feed to the wrong one without tax using property="product:price:amount" in their listings. Best regards Christoph
  15. 28d, 2018

    Hi, by law it has to be on order confirmation, at least in germany, but I think also in EU. A customer has to tick first a checkbox agreeing to terms and conditions (that has to be linked there as a modal e.g.) especially the right of withdrawal before continuing any further. Even the button can't be named simply "continue" it has to use some clear formula as buy now or buy chargeable. A competitor might get an attorney to send you a simple letter of cease and desist which might cost you a few thousands EUR alone. We had this once, using a wrong formulated half sentence in the right of withdrawal part of our terms and conditions. So no one inside EU should be easy on this. Best regards Christoph
  16. Yes, sure. Works now as intended. Thanks! Best regards Christoph
  17. Continue Shopping Button for 2.3.4bs

    Hi, for shoppingcart take a look: Best regards Christoph
  18. @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
  19. 28d, 2018

    Hi, I did something similar to get a tabbed product_info, which is a good idea for extended information because it is required by law for some products e.g. food has to have nutritional values for cosmetics ingredients, and of course size measurements for clothing. You could add both common stuff like size measurements and individual ones like nutritional values. I did this by abusing oscms adding a column for products_id (and sort order column so you could have more than one individual tab) and another for common stuff. The tabs would only appear if the corresponding content was available. A tab for manufactuer info and reviews also...lots of tabs. But all done in old core change style.. Best regards Christoph
  20. 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
  21. 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
  22. @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
  23. Quick and dirty solution, better more elegant way anyone? if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price_with_tax = $new_price + ($new_price * (tep_get_tax_rate($product_info['products_tax_class_id'])/100)); $products_price = $this->format_raw($products_price_with_tax); } else { $products_price_with_tax = $product_info['products_price'] + ($product_info['products_price'] * (tep_get_tax_rate($product_info['products_tax_class_id'])/100)); $products_price = $this->format_raw($products_price_with_tax); } Oh and half off topic, I would also like to also add a tag for condition - hardcoded as all our products are new anyway, how should it look? Best regards Christoph
  24. Automatically send data feed to Froogle

    @Jack_mcs No sorry I'm just into Euros.. Did this for now from: $row->price = $price_w_tax; to: $row->price = round($price_w_tax,2); puts out nor more then two digits after dot, seems to work, any caveats with this? Best regards Christoph
  25. Automatically send data feed to Froogle

    Hi @Jack_mcs, I have a problem with the prices (with taxes from the $price_w_tax): If the result is e.g 69.899 (three numbers after the dot) this is seen by google as EUR 69.899,00 which is a bit too much. If the result ist eg. 27.8955 (four number after the dot) is used correctly : EUR 27,90. Any clues? Another thing would be nice to have: Base price functionality as it is required for certain products in the EU. I know this requires at least two new columns in products and accordingly changes to admin/categories. Best regards Christoph