Jump to content

kep@

Members
  • Content count

    40
  • Joined

  • Last visited

Everything posted by kep@

  1. Not copy products move working OSCommerce 2.3.4.1 and PHP 7.2 Does anyone have an idea ?
  2. PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function tep_draw_bs_radio_field(), 5 passed in /home/public_html/www/admin/categories.php on line 907 and exactly 6 expected in /home/public_html/www/admin/includes/functions/html_output.php:331 Stack trace: #0 /home/public_html/www/admin/categories.php(907): tep_draw_bs_radio_field('copy_as', 'link', true, NULL, 'Link product') #1 {main} thrown in /home/public_html/www/admin/includes/functions/html_output.php on line 331
  3. Is it somehow possible to set that only Login Members can see the quantities ?
  4. PHP Fatal error: Cannot declare class currencies_mod, because the name is already in use in /home/public_html/includes/modules/bootstrap/bt_price_display.php on line 63 How to solve this problem? bt_price_display.php st_tax_below_price.php
  5. When I change the class name from currencies_mod to for example mod_currencies then I don't have a problem with error 500 but it doesn't show me the tax. And what this module should do
  6. After this change, it shows the prices that should be available only to registered users.
  7. Problem is that st_tax_below_price.php also calls class mod_currencies st_tax_below_price.php
  8. I already have that // class constructor function __construct() { $this->currencies = array(); $currencies_query = tep_db_query("select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from currencies"); while ($currencies = tep_db_fetch_array($currencies_query)) { $this->currencies[$currencies['code']] = array('title' => $currencies['title'], 'symbol_left' => $currencies['symbol_left'], 'symbol_right' => $currencies['symbol_right'], 'decimal_point' => $currencies['decimal_point'], 'thousands_point' => $currencies['thousands_point'], 'decimal_places' => (int)$currencies['decimal_places'], 'value' => $currencies['value']); } }
  9. When I replace it I still get the same error PHP Fatal error: Cannot declare class currencies_mod, because the name is already in use in /home/public_html/includes/modules/bootstrap/bt_price_display.php on line 63 HTTP ERROR 500
  10. kep@

    Display Tax Info V3.0

    @raiwa Can you help me osCommerce Online Merchant v2.3.4.1 CE PHP Version: 7.2.34 (Zend: 3.2.0) Display_tax_info_V3.5 PHP Fatal error: Cannot declare class currencies_mod, because the name is already in use in /../includes/modules/bootstrap/bt_price_display.php on line 63 Return http error 500 bt_price_display.php
  11. When I install the module and plug it in content The following error occurs to me 1146 - Table '... .TABLE_PRODUCTS' doesn't exist select p.products_id, pd.products_name, pd.products_seo_keywords, pd.products_seo_description, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.products_last_modified, p.manufacturers_id, p.products_gtin from TABLE_PRODUCTS p, TABLE_PRODUCTS_DESCRIPTION pd where p.products_status = '1' and p.products_id = '511' and pd.products_id = p.products_id and pd.language_id = '5' [TEP STOP]
  12. Now I'm trying to figure out how to add it to the product_info.php page
  13. Yes, it is exactly as you wrote And now everything works as I wanted
  14. kep@

    Display Tax Info V3.0

    I used version 3.5 to see if it was correct or to use another version
  15. kep@

    Display Tax Info V3.0

    osCommerce Online Merchant v2.3.4.1 CE PHP Version 7.3.33 When I install the module the site stops working. In error_log I get an error PHP Fatal error: Cannot declare class currencies_mod, because the name is already in use in .../includes/modules/bootstrap/bt_price_display.php on line 63 Is this possible to solve in some way I need in addition to the price without VAT to show me the price with VAT and what is the xx% VAT
  16. I don't have the Guest Checkout add-on installed
  17. Now I see that all these files are used to display product_listing.php except the file product_info.php
  18. thanks That's it But for me it only exists in product_listing.php PRODUCT_LIST_QUANTITY does not exist in these files advanced_search_result.php products_new.php specials.php product_info.php It would be good to add them there just to see how I would do it.
×