

bassmaga
Members-
Content count
29 -
Joined
-
Last visited
Profile Information
-
Real Name
Kamil
-
Gender
Male
-
Location
Poland
-
[Addon] Categories Accordion Box for 2.3.1
bassmaga replied to kymation's topic in General Add-Ons Support
Hello, first thx for addons Unfortunately it does't work the line is still broken jquery 1.9.1 -
bassmaga started following [Addon] Categories Accordion Box for 2.3.1
-
Hi, thx for great contribution. I had a problem with addon usu5 XML Site Maps. In file sitemapIndex.xml script wrote SID's. In function create_single_sitemap_index I changed from tep_href_link( 'sitemapCategories' . $filename_suffix), to tep_href_link( 'sitemapCategories' . $filename_suffix, '', 'NONSSL', false), from tep_href_link( 'sitemapProducts' . $filename_suffix), to tep_href_link( 'sitemapProducts' . $filename_suffix, '', 'NONSSL', false), from tep_href_link( 'sitemapManufacturers' . $filename_suffix), to tep_href_link( 'sitemapManufacturers' . $filename_suffix, '', 'NONSSL', false), regards
-
-
Hi, Thanks for this very usefull contribution. I have one small issue OSC 2.3.1 and Ultimate_Seo_Urls_5_PRO_r205 Error: Undefined index: products_model File: includes/modules/ultimate_seo_urls5/page_modules/product_info.php Line: 189 line 189 is $text_types = array( 'p' => $details['products_name'], 'c' => $details['categories_name'], 'm' => $details['products_model'] ); in function private function linkTextOrder( array $details = array() ) { $text_types = array( 'p' => $details['products_name'], 'c' => $details['categories_name'], 'm' => $details['products_model'] ); // manufacturers_name is gained through a left join and may not exist array_key_exists( 'manufacturers_name', $details ) ? $text_types['b'] = $details['manufacturers_name'] : null; // Products name MUST be present, if not we force it to the end if ( false === stripos( USU5_PRODUCTS_LINK_TEXT_ORDER, 'p' ) ) { $admin_order = str_split( USU5_PRODUCTS_LINK_TEXT_ORDER . 'p' ); } else $admin_order = str_split( USU5_PRODUCTS_LINK_TEXT_ORDER ); // Split the string value entered in admin ( like mcp etc ) to an array $text_order = array_flip( $admin_order ); // Flip key => value to value => key $text_to_format = array_intersect_key( $text_types, $text_order ); // return only those key => value pairs that match the admin selection $link_text_count = count( $admin_order ); $ordered_array = array(); for ( $i=0; $i<$link_text_count; $i++ ) { if ( ( array_key_exists( $admin_order[$i], $text_to_format ) && tep_not_null( $text_to_format[$admin_order[$i]] ) ) ) { // If a value is empty then we don't want to add it to the link text $to_seperate[] = $text_to_format[$admin_order[$i]]; // Create an array where the link text is in the same order as the admin selection } } return $to_seperate; } // End method
-
Hi, I know its old problem but maybe someone looking for this solve Find in catalog/includes/functions/html_output.php require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; and replace if (basename($_SERVER['SCRIPT_FILENAME']) != 'review_mail.php') { require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; }
-
Credit Class & Gift Vouchers (CCGV) for 2.3.1
bassmaga replied to JuanIgnacio's topic in Order Total Modules
Hi, thx for this contribution. I put right gift product - relase the voucher, on checkout_payment.php I have Enter Redeem Code field but dont have any check box Somebody could help me what mistake I did? -
Hi, It isn't combined with sppc. You must looking for select and add clause after where like 'categories_status=1' in each module you want.
-
Simple Checkout - for 2.3.1 (official support thread)
bassmaga replied to fulluvscents's topic in General Add-Ons Support
I found issue. When I have 1 shipping method or 1 payment method to choose and it is default checked I must check it again to make order (and I dont have any error message) How can I set default country? When I set it in tep_get_country_list() doesn't result. regards -
Simple Checkout - for 2.3.1 (official support thread)
bassmaga replied to fulluvscents's topic in General Add-Ons Support
@@fulluvscents Thanks. -
Simple Checkout - for 2.3.1 (official support thread)
bassmaga replied to fulluvscents's topic in General Add-Ons Support
I had a problem Call to undefined function fixSeoLink() in checkout.php on top I added function fixSeoLink($url){ return str_replace('&', '&', $url); } Now I go testing it -
Hi, I have error strpos(): Empty delimiter in /raid0/www/.../catalog/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 121 DIR_FS_CATALOG contain the full path to the root any solutions please
-
[Contribution] Featured Products for v2.3.x
bassmaga replied to DunWeb's topic in General Add-Ons Support
if you dont have SPPC module delete 'customers_group_id'. -
[Addon] Categories Accordion Box for 2.3.1
bassmaga replied to kymation's topic in General Add-Ons Support
Thx for great addon. It is possible to make this and disable reload? -
Try this: In admin\includes\functions\html_output.php add: /// ckeditor output function tep_draw_textarea_ckeditor($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { global $HTTP_GET_VARS, $HTTP_POST_VARS; $field = '<textarea name="' . tep_output_string($name) . '" style="width:' . tep_output_string($width) . 'px;height:' . tep_output_string($width) . 'px" rows="10" cols="10" '; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( ($reinsert_value == true) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) { if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_GET_VARS[$name])); } elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_POST_VARS[$name])); } } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; $field .= '<script type="text/javascript"> CKEDITOR.replace( \''.tep_output_string($name).'\', { filebrowserBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor\', filebrowserImageBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=image\', filebrowserFlashBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=flash\', }); </script>'; return $field; } And were you need ckeditor change tep_draw_textarea_field to tep_draw_textarea_ckeditor but this function hasn't $wrap parametr For example in admin/information_form.php from <?php echo tep_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', '', '100', '20', (($languages[$i]['id'] == $languages_id) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); ?> to <?php echo tep_draw_textarea_ckeditor('information_description[' . $languages[$i]['id'] . ']', 'soft', '70', (isset($information_description[$languages[$i]['id']]) ? stripslashes($information_description[$languages[$i]['id']]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); ?>
-
Why this information is not included in the installation readme? :)
-
Hi, I found solution. This is when you try to preview product in admin. in admin/categories.php find $fieldStr = ''; $addedFieldsArray = GetAddedProductFields($_GET['pID'], $_GET['cPath']); if (count($addedFieldsArray) > 0) { foreach ($addedFieldsArray as $fields) { if ($fields['table_name'] == TABLE_PRODUCTS) { $fieldStr .= 'p.'.$fields['field_name']; } } } replace to $fieldStr = ''; $addedFieldsArray = GetAddedProductFields($_GET['pID'], $_GET['cPath']); if (count($addedFieldsArray) > 0) { foreach ($addedFieldsArray as $fields) { if ($fields['table_name'] == TABLE_PRODUCTS) { $fieldStr .= 'p.'.$fields['field_name'] . ', '; } if ($fields['table_name'] == TABLE_PRODUCTS_DESCRIPTION) { $fieldStr .= 'pd.'.$fields['field_name']. ', '; } } } find $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, " . $fieldStr . " from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); replace to $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, " . $fieldStr . " p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'");