beerbee
Members-
Posts
256 -
Joined
-
Last visited
-
Days Won
3
Everything posted by beerbee
-
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
-
Hi @raiwa , sadly i have noticed, that qtpro doctor is slowing down admin/categories.php heavily. We have 256 products with tracked stock, which often means over 25 combinations per product, I guess this produces big load on mysql as admin/qtprodoctor.php is also very slow. It got really very much faster after commenting out //Create the product investigation for this product that are used in this page. and the following lines out of categories.php Best regards Christoph
- 367 replies
-
- qtpro
- attributes stock
-
(and 1 more)
Tagged with:
-
@raiwa, works like a charm, thanks! I think others might like it too. Best regards Christoph
- 56 replies
-
- shopping cart
- modular
-
(and 2 more)
Tagged with:
-
Hi again Rainer @raiwa, already tried putting $navigation as global into function execute() of cm_sc_checkout (wrong place?), for testing i put $sc_checkout = '<div class="row">' . sizeof($navigation->path); It stays zero. But this seems to be all over the site, regardless (index, product_info) of where I put it: always zero. Best regards Christoph
- 56 replies
-
- shopping cart
- modular
-
(and 2 more)
Tagged with:
-
Hi @raiwa, I was trying to add a continue shopping button to the checkout module but this <?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { echo tep_draw_button(IMAGE_BUTTON_CONTINUE_SHOPPING, 'glyphicon-chevron-left', tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']), 'primary', NULL, 'btn-success') . " " ; } ?> doesn't work anymore (for me). It seems to me that sizeof is always 0. Any clues? Best regards Christoph
- 56 replies
-
- shopping cart
- modular
-
(and 2 more)
Tagged with:
-
Hi @Tsimi , on line 368 of specials.php echo $start_date; is the reason for the headers already sent error. Seems to be a left over for testing purpose? And another question: I'd like to be able have a filter which is showing/editing only products that have no special price yet just the opposite to show only specials, could be useful for a global time limited discount on all products excluding the products that have special prices already. Best regards Christoph
- 22 replies
-
- specials
- easy advanced specials
-
(and 1 more)
Tagged with:
-
@raiwa Hi, I just stumbled upon this article https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/ and started to think if this srcset thing could be theoretically implemented into KissIT? If I get the whole thing right this could be very useful for mobile devices where images are scaled down by the browser and slowing down loading time, at the end of the article there is wordpress plugin mentioned. Best regards Christoph
-
Nivo Slider Content Module (Bootstrap)
beerbee replied to valquiria23's topic in General Add-Ons Support
Hi, the included file jquery.nivo.slider.pack.js does not work really well with jquery-3.1.1, throwing errors and stops working if you try to activate Navigation Show navigation prev next in the modules admin. To get it working change inside jquery.nivo.slider.pack.js $(window).load(function to $(window).on("load",function and search for .live (you'll find 2 instances), change them to .on et voila works without errors next previous working too. Best regards Christoph -
Hi, I'm simply clueless now. And you do use the standard email feature? Have you checked if the customer gets an order confirmation with the attributes for products he/she ordered? This would be the part for the order confirmation emails sent to admin: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Best regards Christoph
-
Hi, there should be //------insert customer choosen option eof ---- in checkout_process.php which marks the end of the relevant part for getting attributes stored with the order and also mailed with the confirmation. So this about 12 lines or so above (tablename might look like TABLE_ORDERS_PRODUCTS_ATTRIBUTES in your version) tep_db_perform('orders_products_attributes', $sql_data_array); works. but this just a few lines above //------insert customer choosen option eof ---- $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; doesn't. How does that line look on your side? best regards Christoph
-
Hi, no this is just a new line for email formatting. But if you look into your orders on the admin side you see the orders with attributes? Did you or anyone change the checkout_process.php file? Because as I said it is built in by default no need to activate in anyway. Best regards Christoph
-
Hi, what version of oscommerce do you use, because I can't remember of any that would not include products attributes in the confirmation email. Have a look in catalog/checkout_process.php, look for $products_ordered .= in that line there should be also $products_ordered_attributes. Best regards Christoph
-
This is along with Ship In Cart BS on the shopping cart in Dan Coles screenshot - from the install instructions: If you want to use the new shopping cart module feature you have to download and install the following two addons: - Modular Shopping Cart Add-On: http://addons.oscommerce.com/info/9466 - Ship In Cart BS reloaded: http://addons.oscommerce.com/info/9467 If you just want to use the discount code function without the module feature in the shopping cart then skip this step and the *OPTIONAL upload of the module files from this package. Best regards Christoph
-
Hi Shaun, in includes/modules/boxes/bm_card_acceptance.php on line 40 (very likely) you should find $output .= tep_image('images/card_acceptance/' . basename($logo), null, null, null, null, false); replace with $output .= tep_image_legacy('images/card_acceptance/' . basename($logo), null, null, null, null, false); This is just to find out if KissIT is involved anyway (it shouldn't) by using the original tep_image function.
-
Hi Shaun, in bm_card_acceptance.php $output .= tep_image('images/card_acceptance/' . basename($logo), null, null, null, null, false); as there is no size defined, KissIT should not come into play anyway, nevertheless what happens if you change to tep_image_legacy( which should be the renamed original function in html_output.php. Best regards Christoph
-
Hi, admin->configuration->images There should be entries: KissIT min image size, my setting there: 25 KissIT Disable Image Upsize, my setting there: true Best regards Christoph
-
This looks different on my install: define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); and I couldn't find that instruction in 2_3_4_BS_installation.docx. Therefore I asked. Best regards Christoph
-
Hi, did you really install the BS version? https://apps.oscommerce.com/oTI8V&kissit-image-thumbnailer-bs Best regards Christoph
-
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi, in the attachment is the language file you could try to upload it and see what happens. In my includes/languages/english/modules/boxes/ folder all filenames start with bm_ Best regards Christoph bm_information.php -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi that is a missing language definition then..look for bm_information.php in includes/languages/english/modules/boxes/ that is the place where it should be defined. Maybe you missed to upload it? Best regards Christoph -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi, this happens when I forget to clean up code I adapted to special needs for my work . Please change MODULE_BOXES_INFORMATIONHEMP_BOX_TITLE to MODULE_BOXES_INFORMATION_BOX_TITLE in the template file. Best regards Christoph -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi, the template file I posted was complete, but from the bm_information.php I only posted the relevant function. both the function and the template file have to be included correctly so it should read: for the function file require_once('includes/functions/information.php'); for the template file include('includes/modules/boxes/templates/information.php'); And there should be a language file in includes/YourLanguage/modules/boxes/bm_information.php. This would be my complete bm_information.php for includes/modules/boxes/ <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ class bm_information { var $code = 'bm_information'; var $group = 'boxes'; var $title; var $description; var $sort_order; var $enabled = false; function bm_information() { $this->title = MODULE_BOXES_INFORMATION_TITLE; $this->description = MODULE_BOXES_INFORMATION_DESCRIPTION; if ( defined('MODULE_BOXES_INFORMATION_STATUS') ) { $this->sort_order = MODULE_BOXES_INFORMATION_SORT_ORDER; $this->enabled = (MODULE_BOXES_INFORMATION_STATUS == 'True'); $this->group = ((MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right'); } } function execute() { global $oscTemplate, $PHP_SELF; // BOF: Information Pages Unlimited require_once('includes/functions/' . 'information.php'); // EOF: Information Pages Unlimited ob_start(); include('includes/modules/boxes/templates/information.php'); $data = ob_get_clean(); $oscTemplate->addBlock($data, $this->group); } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_BOXES_INFORMATION_STATUS'); } function install() { tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Information Module', 'MODULE_BOXES_INFORMATION_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', '6', '1', 'tep_cfg_select_option(array(\'Left Column\', \'Right Column\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_BOXES_INFORMATION_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); } function remove() { tep_db_query("delete from configuration where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_BOXES_INFORMATION_STATUS', 'MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT', 'MODULE_BOXES_INFORMATION_SORT_ORDER'); } } Best regards Christoph -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi, my function execute() in bm_information.php looks like this: function execute() { global $oscTemplate, $PHP_SELF; // BOF: Information Pages Unlimited require_once('includes/functions/' . 'information.php'); // EOF: Information Pages Unlimited ob_start(); include('includes/modules/boxes/templates/information.php'); $data = ob_get_clean(); $oscTemplate->addBlock($data, $this->group); } and the includes/modules/boxes/templates/information.php like this: <div class="panel panel-default"> <div class="panel-heading"><?php echo MODULE_BOXES_INFORMATIONHEMP_BOX_TITLE; ?></div> <div class="panel-body"> <?php /* <li><a href="<?php echo tep_href_link('shipping.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_SHIPPING; ?></a></li> <li><a href="<?php echo tep_href_link('privacy.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_PRIVACY; ?></a></li> <li><a href="<?php echo tep_href_link('conditions.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_CONDITIONS; ?></a></li> <li><a href="<?php echo tep_href_link('contact_us.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_CONTACT; ?></a></li> */ echo tep_information_show_category(1); ?> </div> </div> Best regards Christoph -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
Hi if you are installing on BS Edge you'd need to edit the template file. You have commented out //ob_start(); //include('includes/modules/boxes/templates/information.php'); //$data = ob_get_clean(); why? Best regards Christoph -
Information pages unlimited for 2.3
beerbee replied to mediamacher's topic in General Add-Ons Support
If recall correctly you'd have to edit the original information box by commenting out the links there and insert function call like: <?php /* <li><a href="<?php echo tep_href_link('shipping.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_SHIPPING; ?></a></li> <li><a href="<?php echo tep_href_link('privacy.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_PRIVACY; ?></a></li> <li><a href="<?php echo tep_href_link('conditions.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_CONDITIONS; ?></a></li> <li><a href="<?php echo tep_href_link('contact_us.php'); ?>"><?php echo MODULE_BOXES_INFORMATION_BOX_CONTACT; ?></a></li> */ echo tep_information_show_category(1); ?> Best regards Christoph