Jump to content

stratula

♥Ambassador
  • Content count

    103
  • Joined

  • Last visited

  • Days Won

    1

stratula last won the day on November 10 2018

stratula had the most liked content!

About stratula

  • Birthday 09/18/1967

Profile Information

  • Real Name
    stefan p.
  • Gender
    Male
  • Location
    Germany
  • Website

Recent Profile Visitors

6,406 profile views
  1. stratula

    NEW! Complete Order Editing Tool!

    Hi Dan, yes it displays the details of the order I've clicked on. But as country it shows always the first country of the countries.php. Means that a customer from germany on loaded edit_orders.php display with the first country from countries.php (Albania) thx and Br Stefan
  2. stratula

    NEW! Complete Order Editing Tool!

    hello, i've installed this addon and it seems that its working ok. But there is still one problem: On the edit_orders.php it shows all customers with the first country from the countries.php. Is this normal or do i miss something? thx and Br Stefan
  3. @valquiria23 I installed the addon but it didn't work on my CE/BS3. After i tried the version of your category_tree.php it works fine. /*Begin Distinguish sub categories category box*/ if ( $level === 0 ) { $result .= $this->root_start_string; } else { switch ($level) { case 1: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 2: $result .= '<i class="text-info fas fa-sign-out-alt pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 3: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; color:#3cbecc"></i>'; break; case 4: $result .= '<i class="text-info fas fas fa-sign-out-alt pull-left" style="margin-top:13px; margin-left:13px; color:#3cbecc"></i>'; break; default: $result .= $this->root_start_string; } } /*End Distinguish sub categories category box*/ The addon from the marketplace has a missing } at the end. thanks for your work Best Regards Stefan
  4. stratula

    extra field for VAT ID in create_account

    @LeeFoster Thank you for the infos. Is it for the account section only the address_book.php if i want the same rules like company? The SQL will be a problem for me...😩 @piernas The only addon i found is for 2.3.3 and its not the same i want. I need just an extra field straight below company wich follows the same rules like company. No need to make it switchable in admin. best regards stefan
  5. 2.3.4.1 CE BS responsive / PHP 7.1.15 Hello, i want to make an extra field in create_account for VAT ID below company. It should be as option like company. The problem is that i do not understand of all what is to do. I'm sure to start in create_account and make changes like this: in catalog/create_account.php on line: 33 if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($_POST['company']); to: if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($_POST['company']); if (ACCOUNT_VAT-ID == 'true') $vat-id = tep_db_prepare_input($_POST['vat-id']); on line: 196 if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; to if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; if (ACCOUNT_VAT-ID == 'true') $sql_data_array['entry_vat-id'] = $vat-id; on line: 346 <?php if (ACCOUNT_COMPANY == 'true') { ?> <h2 class="h3"><?php echo CATEGORY_COMPANY; ?></h2> <div class="contentText"> <div class="form-group"> <label for="inputCompany" class="control-label col-sm-3"><?php echo ENTRY_COMPANY; ?></label> <div class="col-sm-9"> <?php echo tep_draw_input_field('company', NULL, 'id="inputCompany" placeholder="' . ENTRY_COMPANY_TEXT . '"'); ?> </div> </div> </div> <?php } ?> to <?php if (ACCOUNT_COMPANY == 'true') { ?> <h2 class="h3"><?php echo CATEGORY_COMPANY; ?></h2> <div class="contentText"> <div class="form-group"> <label for="inputCompany" class="control-label col-sm-3"><?php echo ENTRY_COMPANY; ?></label> <div class="col-sm-9"> <?php echo tep_draw_input_field('company', NULL, 'id="inputCompany" placeholder="' . ENTRY_COMPANY_TEXT . '"'); ?> </div> </div> </div> <?php } ?> <?php if (ACCOUNT_VAT-ID == 'true') { ?> <h2 class="h3"><?php echo CATEGORY_VAT-ID; ?></h2> <div class="contentText"> <div class="form-group"> <label for="inputVAT-ID" class="control-label col-sm-3"><?php echo ENTRY_VAT-ID; ?></label> <div class="col-sm-9"> <?php echo tep_draw_input_field('vat-id', NULL, 'id="inputVAT-ID" placeholder="' . ENTRY_VAT-ID_TEXT . '"'); ?> </div> </div> </div> <?php } ?> After this i think in admin/customers.php making the same kind of changes and of course the languages files. But from this point i need help, i don't know what else files have to be change and how to write the sql for dbase. Any kind of help for this would be nice thx Stefan
  6. stratula

    17 Years Young!

    Congrats and many many thanks for all the work and support on osc over the years!! I started with Milestone and did 4 years ago a 2.3.1 and now i am working on a 2.3.4.1 CE response and like it 👌 Please keep on!!
  7. stratula

    Entscheidungsfindung

    @Chrisso here is a good working german language pack German language pack for BS_CE
  8. stratula

    Wholesale (SPPC lite)

    @raiwa i do not understand this in the Manual_File_Modifications at the beginning: If you need it to distinguish between wholesaler and retailer for other uses, you can code it like this: // wholesale (SPPC Lite) BEGIN global $ wholesale_group; if ($wholesale_group > 0) { echo 'wholesaler'; // wholesalers code } else { // default echo 'retailer'; // retailer code } // wholesale (SPPC Lite) END ..???
  9. ok thx, but what do i have to change?
  10. hello i have installed a osc 2.3.4.1 bs (responsive master) on php 7.2.3 and i got a warning message in admin modules content page: Warning: Use of undefined constant - assumed 'OSCOM_APP_PAYPAL_LOGIN_SORT_ORDER' (this will throw an Error in a future version of PHP) in /kunden/media-promote.de/2.3.4.1_reponsive/includes/modules/content/login/cm_paypal_login.php on line 41 i tried to uninstall the paypal login module and got other errors, after reinstalling i have the same problem as before. it seems that somewhat somehow doesn't work with php 7.2 i need a little help thx stefan
  11. hello, does MultiGeoZone MultiTable Shipping work with osc responsive master on PHP 7.2.3 ?
  12. stratula

    Master Products - MS2

    Hi Tsimi, first of all thx for your help. I don't understand why the part with the manufactures_id is not in your one or is this only the lower part of the changes? br stefan
  13. stratula

    Master Products - MS2

    Hello, i try to install Master Products for 2.3 into a 2.3.1 store. I have a problem with ../includes/modules/products_listing.php It says: On or around line 128/131, change: if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } else { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } break; case 'PRODUCT_LIST_BUY_NOW': $prod_list_contents .= ' <td align="center">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id'])) . '</td>'; to // Master Products if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . tep_master_link($listing['products_master_status'], $listing['products_master'], $listing['products_id'])) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } else { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . tep_master_link($listing['products_master_status'], $listing['products_master'], $listing['products_id'])) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } // Master Products EOF break; case 'PRODUCT_LIST_BUY_NOW': // Master Products if ($listing['products_master_status'] != '1' && $listing['products_master'] == '0') { $prod_list_contents .= ' <td align="center">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id'])) . '</td>'; } elseif ($listing['products_master'] != '0') { $prod_list_contents .= ' <td align="center">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . ((strpos(trim(str_replace('_', '', $listing['products_master'])), ' ') !== false) ? (trim(str_replace('_', '', $listing['products_master']))) : ($listing['products_id'])))) . '</td>'; } else { $prod_list_contents .= ' <td align="center">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id'])) . '</td>'; } // Master Products EOF but I don't know how to include it because my product_listing.php is little different from the above! my product_listing.php: if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } else { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } break; case 'PRODUCT_LIST_BUY_NOW': $prod_list_contents .= ' <td align="center">' . tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), 'POST') . '<table cellSpacing="6" cellPadding="0" width="90%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '1', 'size=3 maxlength=3') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart') . '<td align="absmiddle">' . '</td></tr></table></form>'; Please can anyone assist me? THX Stefan
  14. Hello Chris, ymm is a great addon and has been working without any problems in 2.2rca. Now I build a 2.3.1 and get ymm with 4. filter not to run properly. The ymm list on the product_info.php always appears in TAB5, in addition it is necessary that something is in TAB5 so that the list will appear there. There currently are only 5 products in the shop with something in TAB5 (english -> Model List and german -> Verwendungsliste). The five products are the three Galaxy and the two graphics cards. (Galaxy None and the graphics cards are Universal Products) It also filters into the subcategories but not universal products and the box in the left column shows not uprightly according to the selection. Please can you have a look on www.motopart24.de ? - maybe there is a quick solution wich i do not see. I really read the last 13 pages on this thread more than once and didn't find the solution. br & thx Stefan
×