Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

stratula

Members
  • Posts

    104
  • 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

7,717 profile views

stratula's Achievements

  1. 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. 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. @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
  4. 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
  5. @Chrisso here is a good working german language pack German language pack for BS_CE
  6. @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 ..???
  7. hello, does MultiGeoZone MultiTable Shipping work with osc responsive master on PHP 7.2.3 ?
  8. 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
  9. 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
  10. 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
  11. THX Jim, that works but in includes/template_top.php greets stefan
  12. Hi EchoGuns, i had to update jquery for accordion_categories and now ProductTabs is no longer working like it did. The whole shopsite is now showing in the ProductTab i've seen that i'm not the first person with this problem. - do you have any idea how to solve this? http://www.motopart24.de/product_info.php?cPath=21&products_id=28 greets stefan
  13. DONE, YOU ARE THE MAN !! >> http://www.racingmedia.de many many thx greets stefan
  14. ok i have on server: ../ext/jquery/jquery-1.4.2.min.js ../ext/jquery/ui/jquery-ui-1.8.6.min.js ../ext/jquery/ui/redmond/jquery-ui-1.8.6.css and in download from jQuery: js/jquery-1.9.1.js js/jquery-ui-1.10.1.custom.js js/jquery-ui-1.10.1.custom.min.js css/custom-theme/jquery-ui-1.10.1.custom.css css/custom-theme/jquery-ui-1.10.1.custom.min.css Wich one do i have to replace with wich one?
×
×
  • Create New...