Jump to content
Latest News: (loading..)

YePix

Members
  • Content count

    111
  • Joined

  • Last visited

Profile Information

Recent Profile Visitors

10,354 profile views
  1. Im Adminmenü findest du es auch nicht. Es muss direkt in der Datei create_account.php bearbeitet werden.
  2. das ist der code für newsletter: <tr> <td class="fieldKey"><?php echo ENTRY_NEWSLETTER; ?></td> <td class="fieldValue"><?php echo tep_draw_checkbox_field('newsletter', '1') . '&nbsp;' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?></td> </tr>
  3. das ist der Abschnitt der für das Feld Telefonnummer zuständig ist: if (strlen($telephone) < ENTRY_TELEPHONE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_TELEPHONE_NUMBER_ERROR); } <tr> <td class="fieldKey"><?php echo ENTRY_TELEPHONE_NUMBER; ?></td> <td class="fieldValue"><?php echo tep_draw_input_field('telephone') . '&nbsp;' . (tep_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="inputRequirement">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?></td> </tr>
  4. Also bei dem Wissen über osCommerce ist es schon mal sehr schlecht überhaupt in Erwägung zu ziehen einen Online-Shop frei ins Netz zu stellen. (Sorry nicht böse gemeint) Bevor du dir Gedanken über eventuelle Angabefelder machst, solltest du dir lieber Gedanken über die rechtliche Situation, was das Betreiben eines Shops im Netz angeht machen. Eine Abmahnung wegen fehlender bzw. falscher Angaben kann sehr, sehr teuer werden. (Das nehmen viel zu viele hier leider auf die leichte Schulter) und dann ist das Gehäule gross ! Die besten Ausreden sind immer, Ich möchte nicht viel investieren, da es nur ein kleiner Shop ist und und und..... Es ist ganz egal wie gross der Shop werden soll, auch wen nur ein Produkt verkauft wird. Gesetz ist Gesetz und die Straffen sind sehr hoch bei Verstössen. Ist der Shop irgendwann Abmahnsicher, so kannst du an Verschönerung und Anpassung bestimmter Details denken die du haben möchtest. Nichts für ungut aber denk über meine Worte nach, kann viel Ärger ersparen.
  5. Um die Telefonnummer zu entfernen muss die create_account.php im catalog so wie die customers.php im admin bearbeitet werden. Hierbei alle Abfragen und das Eingabefeld entfernen. Etwas schöner wre eine DB-Abfrage zu installieren um das Telefonfeld über die Administration ab bzw. ein zu schalten.
  6. YePix

    Entscheidungsfindung

    Du brauchst noch den Lieferkostenvermerk in unmittelbarer Nähe zum Preis. Nicht vergessen, die Versandkosten müssen inkl. MwSt. gelten. Bestätigung der AGB, Widerruf und Datenschutzrichtlinien. Die DSGVO Angaben müssen jedem Kunden zugänglich sein. Kontrollkästchen mit Bestätigung der Privatsphere vor dem Versenden des Kontaktformulars. Und, und, und..... An deiner Stelle würde ich erstmal genauer prüffen was alles noch fehlt was rechtlich vorgeschrieben ist bevor der Shop On-Line geht. (kann sehr teuer werden.) PS. Die anderen Shops die im Netz zu finden sind, sind auch nicht ganz ohne und müssen an die Gesetzvorgaben angepasst werden.
  7. YePix

    thickbox

    from the product_info.php works without problems. but outside I can not get any further. <?php if (SHOW_BUTTON_OPTION_IMAGE == 'true') { $optionsimage = tep_image('images/' . 'prod_button_attribute.png');}?> <?php $transimage = tep_image('images/' . 'pixel_trans.gif', '1', '12');?> <?php if ( (tep_session_is_registered('customer_id') == true) || ($id != $customer_id) ) {?> <div align="center"> <div class="col-sm-6" align="left"><div class="pls_infopanel"> <h4><?php echo TEXT_PRODUCT_OPTIONS . ' ' . $attribute_prod_name; ?></h4> <?php echo $gender_text . ' ' . $addresses['lastname'] . ', ' . TEXT_PRODUCTS_ATTRIBUTE_PRODUCT_INFO ;?><?php echo $pls_separator_nb; ?> </div></div> <span id="myBtn"><div class="CustomButton button1"> <i class="fa fa-calculator"></i>&nbsp;&nbsp;<?php echo TEXT_PRODUCT_OPTIONS_DROPDOWN_POPUP . '<br>' . $product_info['products_name'] . ' ' . TEXT_PRODUCT_OPTIONS_LAST . ' ' . $anrede_text . ' ' . $addresses['lastname'] . $optionsimage;?> </div></span> </div> <?php echo $transimage; ?> <?php }else{?> <div align="center"> <div class="col-sm-6" align="left"><div class="pls_infopanel"> <h4><?php echo TEXT_PRODUCT_OPTIONS . ' ' . $attribute_prod_name; ?></h4> <?php echo TEXT_ATTRIBUTE_GUEST . ' ' . TEXT_PRODUCTS_ATTRIBUTE_PRODUCT_INFO ;?><?php echo $pls_separator_nb; ?> </div></div> <span id="myBtn"><div class="button button1"> <i class="fa fa-calculator"></i>&nbsp;&nbsp;<?php echo TEXT_GUEST_PRODUCT_OPTIONS_DROPDOWN_POPUP . '<br>' . $product_info['products_name'] . ' ' . TEXT_PRODUCT_OPTIONS_LAST . $optionsimage;?> </div></span> </div> <?php echo $transimage; ?> <?php }?> <div id="myModal" class="modal"> <div class="modal-content"> <p> <!------- -------> <h4><?php echo TEXT_PRODUCT_OPTIONS . ' ' . $attribute_prod_name; ?></h4> <?php if ( (tep_session_is_registered('customer_id') == true) || ($id != $customer_id) ) {?> <?php echo $gender_text . ' ' . $addresses['lastname'] . ', ' . TEXT_PRODUCTS_ATTRIBUTE_INFO . $pls_separator_nb ;?> <?php }else{ echo TEXT_ATTRIBUTE_GUEST . ' ' . TEXT_PRODUCTS_ATTRIBUTE_INFO; }?> <p> <div class="pls_panel"> <?php $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name"); $numberofopt = tep_db_num_rows($products_options_name_query); $opt_count = 0; $products_attributes = array(); while ($products_options_name = tep_db_fetch_array($products_options_name_query)) { array_push($products_attributes,$products_options_name['products_options_id']); $opt_count++; $products_options_array = array(); $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$_GET['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.attribute_sort"); while ($products_options = tep_db_fetch_array($products_options_query)) { $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']); if ($products_options['options_values_price'] != '0') { $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') '; } } if (is_string($_GET['products_id']) && isset($cart->contents[$_GET['products_id']]['attributes'][$products_options_name['products_options_id']])) { $selected_attribute = $cart->contents[$_GET['products_id']]['attributes'][$products_options_name['products_options_id']]; } else { $selected_attribute = false; } ?> <strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /> <?php /* Optionen-Bilder start */ ?> <?php $products_options_images_query = tep_db_query("select image, image_name from " . TABLE_PRODUCTS_OPTIONS_IMAGES . " where options_id = '" . (int)$products_options_name['products_options_id'] . "' "); ?> <div id="piGal"> <?php if (tep_db_num_rows($products_options_images_query) > 0) { $options_images_counter = 0; while ($options_images = tep_db_fetch_array($products_options_images_query)) { $options_images_counter++; $option_images_out = '<a href="'; $option_images_out .= tep_href_link('images/' . 'optionsimages/' . $options_images['image'], '', 'NONSSL', false); $option_images_out .= '" target="_blank" rel="colorbox" title="' . $options_images['image'] . '">' . tep_draw_button(TEXT_SHOW_IMAGE . '&nbsp;' . $options_images['image_name'] . tep_image('images/' . 'optionsimages/' . $options_images['image'], '8%', '8%'), null, null, 'btn btn-default btn-lg') . '</a>'; echo '<span class="pls_optionimage">' . $option_images_out . '</span>'; } } ?> <script type="text/javascript"> $("#piGal a[rel^='colorbox']").colorbox({ cyclic: true }); </script></div> <?php /* Optionen-Bilder ende */ ?> <?php $comma = ""; $all_option_js = "["; for($t = 1;$t<=$numberofopt; $t++) { $all_option_js .= $comma.'document.getElementById(\'cmbooption_'.$t.'\').value'; $comma = ","; } $all_option_js .= "]"; echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute,' id="cmbooption_'.$opt_count.'" onChange="getPrice('.$v_new_price.','.$v_products_price.','.(int)$_GET['products_id'].','.$all_option_js.')"'); } ?></div> <!------- -------> </p><?php echo $pls_separator_nb;?> <span class="InfoTextBottom"><?php echo TEXT_PRODUCTS_ATTRIBUTE_PRODUCT_INFO_BOTTOM;?></span><?php echo $pls_separator_nb;?> <span class="close" style="float: left;"><?php echo TEXT_FINISH;?></span><br><br> <br><br> </div> </div> <script> // Get the modal var modal = document.getElementById('myModal'); // Get the button that opens the modal var btn = document.getElementById("myBtn"); // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks the button, open the modal btn.onclick = function() { modal.style.display = "block"; } // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } // When the user clicks anywhere outside of the modal, close it window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; } } </script>
  8. YePix

    thickbox

    that's the problem. I've been working on it for some time now and just can not keep up.
  9. YePix

    thickbox

    just like that. if a product has attributes, it is called up via layer in the extra window. products without attributes normal from the product_info.php
  10. YePix

    thickbox

    <a href='<?php echo tep_href_link('product_popup.php', 'products_id=' . $all_products['products_id']); ?>', target="_blank" onclick="window.open(this.href,this.target,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=420,height=780,screenX=150,screenY=150,top=5,left=650'); return false;"><?php echo tep_draw_button(IMAGE_BUTTON_POPUP, 'plusthick');?></a> that's it. but I do not want a new window but something nice with css layer open
  11. YePix

    thickbox

    Yes. the layer should be opened directly from the product_listing.php via button and not forwarded to the product_info.php.
  12. YePix

    thickbox

    it is the product_info.php only with attributes and purchase button which should be opened in the layer.
  13. YePix

    thickbox

    Bottstrap EDGE
  14. YePix

    thickbox

    Hello guys and girls, does any of you have experience with thickbox? I want a page opened in a css popup. I tried to link it but without success. Can someone help me ? <?php $option_popup_open = '<a href="'; $option_popup_open .= tep_href_link('product_popup.php', tep_get_all_get_params(array('action')) . 'products_id=' . $list_price['products_id']); $option_popup_open .= '" target="_blank" rel="thickbox" title="' . $list_price['products_name'] . '">' . tep_draw_button(TEXT_LOGIN_INFO, 'fa fa-question', tep_href_link('login.php'), null, null, 'btn-reviews btn-block btn-pls') . '</a>'; echo '<span class="pls_option">' . $option_popup_open . '</span>'; ?>
  15. YePix

    tep_draw_file_field

    Hi guys, where does the button "tep_draw_file_field('option_image')" for imageupload its name? the first part is a field name and next to it is the button. in German there is "Durchsuchen..."
×