Latest News: (loading..)

bonbec

Members
  • Content count

    79
  • Joined

  • Last visited

  • Days Won

    1

bonbec last won the day on April 5

bonbec had the most liked content!

About bonbec

Profile Information

  1. @Richard 10100 I use uWamp with my windows 8.1
  2. Take a look to these posts here
  3. I try with your test login and it happens what you describe. With my FireFox, I can see cookies and I don't understand why a new osCsid is generated for each url I looked. Another thing I don't understand : in your config file, addDefine('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' but the path (chemin in french below) is not mysql. Nom __lc.visitor_id.8887059 Valeur S1499095796.cac3d5df90 Domaine (host) .roslinyakwariowe.pl Chemin / Expire le Sun, 29 Mar 2020 15:29:57 GMT Sécurisé Non HttpOnly Non Nom lc_window_state Valeur minimized Domaine (host) .roslinyakwariowe.pl Chemin / Expire le À la fin de la session Sécurisé Non HttpOnly Non Nom cookie_test Valeur please_accept_for_session Domaine (host) sklep.roslinyakwariowe.pl Chemin /akcesoria-narzedzia/ Expire le Wed, 02 Aug 2017 15:29:56 GMT Sécurisé Non HttpOnly Non Nom cookie_test Valeur please_accept_for_session Domaine (host) sklep.roslinyakwariowe.pl Chemin /akcesoria-narzedzia/komplety-narzedzi/ Expire le Wed, 02 Aug 2017 15:30:05 GMT Sécurisé Non HttpOnly Non Nom cookie_test Valeur please_accept_for_session Domaine (host) sklep.roslinyakwariowe.pl Chemin /zdjecia/ Expire le Wed, 02 Aug 2017 15:30:09 GMT Sécurisé Non HttpOnly Non Nom cookie_test Valeur please_accept_for_session Domaine (host) sklep.roslinyakwariowe.pl Chemin / Expire le Wed, 02 Aug 2017 15:30:47 GMT Sécurisé Non HttpOnly Non Nom listing_view Valeur 2 Domaine (host) sklep.roslinyakwariowe.pl Chemin /akcesoria-narzedzia/ Expire le Mon, 10 Jul 2017 15:29:56 GMT Sécurisé Non HttpOnly Non Nom listing_view Valeur 2 Domaine (host) sklep.roslinyakwariowe.pl Chemin /akcesoria-narzedzia/komplety-narzedzi/ Expire le Mon, 10 Jul 2017 15:30:05 GMT Sécurisé Non HttpOnly Non Nom listing_view Valeur 2 Domaine (host) sklep.roslinyakwariowe.pl Chemin /zdjecia/ Expire le Mon, 10 Jul 2017 15:30:09 GMT Sécurisé Non HttpOnly Non Nom listing_view Valeur 2 Domaine (host) sklep.roslinyakwariowe.pl Chemin / Expire le Mon, 10 Jul 2017 15:30:47 GMT Sécurisé Non HttpOnly Non Nom osCsid Valeur sr9auhh9vpvr929p78f5q0q7g7 Domaine (host) sklep.roslinyakwariowe.pl Chemin /zdjecia/ Expire le À la fin de la session Sécurisé Non HttpOnly Non Nom osCsid Valeur 1a4fh2112a5a9ngnnha1fkifv0 Domaine (host) sklep.roslinyakwariowe.pl Chemin /akcesoria-narzedzia/komplety-narzedzi/ Expire le À la fin de la session Sécurisé Non HttpOnly Non Nom osCsid Valeur 0bphlje68a4dbovl6k62tk9qp0 Domaine (host) sklep.roslinyakwariowe.pl Chemin / Expire le À la fin de la session Sécurisé Non HttpOnly Non
  4. Hello Alexey, Are you russian ? Or your client ? Because I find that the " CMS version - oscommerce 1.203 " seems to be a fork : "VAM Shop". On the oscomm.biz you can find a lot of topics about "Oscommerce VAM 1.203" I am not russian, i use only Google to find my respons.
  5. @Tsimi I had the same problems and add (int) resolved this. But I have no idea why this happened. I agree with you when you said " It contained a lot old code.".
  6. Add (int) like this : $textoptions_query = tep_db_query("select products_options_values_name from products_options_values where products_options_values_id = " . (int)OPTIONS_VALUES_TEXT_ID . " and language_id = '" . $languages_id . "'"); and : tep_db_query("delete from products_options_values where products_options_values_id = " . (int)OPTIONS_VALUES_TEXT_ID); and : tep_db_query("insert into products_options (products_options_id, products_options_name, language_id, products_options_type, products_options_length, products_options_comment, products_options_order) values ('" . (int)$products_options_id . "', '" . tep_db_input($option_name) . "', '" . (int)$languages[$i]['id'] . "', '" . $option_type . "', '" . $option_length . "', '" . tep_db_input($option_comment) . "', '" . $option_order . "')"); and : $optionType_query = tep_db_query("select products_options_type from products_options where products_options_id = '" . (int)$option_id . "' and language_id = '" . $languages_id . "'");
  7. I just tried again with my Google account after reading the message from Burt. After the identification via Google, I go back on the site with the form with the name and first name that I can modify and the email address can not be changed. This is a very good point because the given first name and given name on Google are not the real ones. I haven't been able to go further because the "state / province" is obligatory (it does not exist in France), but this is another problem that has nothing to do with this great addon. Congratulations!
  8. I don't have any adress in my Google account, I think that it is the reason of the "Data incomplete". Maybe the error message could be more explicit?
  9. With Google login : Data incomplete - social login aborted. Please choose another login method.
  10. Perhaps a typo error ? => MOVIL or MOBIL in ENTRY_TELEPHONE_MOVIL_NUMBER_ERROR
  11. Hello, Have you thought checking the box "Exclude specials" when creating the discount code?
  12. @@fanaya You can use PWA (Purchase Without Account) BS reloaded, I think that it does the same things like your "Checkout without registering".
  13. In fact, there is a big bug that I had not seen in my tests: when you put the same master item several times with different slave products, the master product is not displayed. As I can not correct my previous post, ignore my previous post. Use only this: It's work with a counter I put in a session in application_top.php. The lines marked with // line added are to be added. //Master Products // customer adds multiple products from the master_listing page case 'add_slave' : $qty_slaves = ''; // line added // switch off redirect to see debug arrays // END for last products in modal cart while ( list( $key, $val ) = each( $_POST ) ) { if (substr($key,0,11) == "Qty_ProdId_" && ((int)$val !== 0)) { $prodId = substr($key,11); $qty_slaves .= $prodId.' '; // line added $qty = $val; if(isset($_POST["id_$prodId"]) && is_array($_POST["id_$prodId"])) { // We have attributes $cart->add_cart($prodId, $cart->get_quantity(tep_get_uprid($prodId, $_POST["id_$prodId"]))+$qty, $_POST["id_$prodId"]); } else { if (isset($_POST["products_id"]) && isset($_POST['id'])) { // We have attributes with normal product only if ($prodId == $_POST['products_id']) { $attributes = $_POST['id']; } else { $attributes = $_POST["id_$prodId"]; } $cart->add_cart($prodId, $cart->get_quantity(tep_get_uprid($prodId, $attributes))+$qty, $attributes); } else { // No attributes and normal products $cart->add_cart($prodId, $cart->get_quantity($prodId)+$qty); } } } } $qty_slaves = trim($qty_slaves); // line added tep_session_register('qty_slaves'); // line added // switch off redirect to see debug arrays tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; //Master Products EOF Now, for the modal cart, in the includes/modules/content/footer/cm_footer_modal_cart.php : The lines marked with // line added are to be added. The good function execute() : function execute() { global $oscTemplate, $cart, $currencies, $languages_id; if (tep_session_is_registered('new_products_id_in_cart') && DISPLAY_CART == 'false') { $cart_contents_string = '<table class="table table-striped table-condensed">'; if ($cart->count_contents() > 0) { $products = $cart->get_products(); if (tep_session_is_registered('qty_slaves')) { // line added $qty_slaves = $_SESSION['qty_slaves']; // line added $qs_id = explode(" ", $qty_slaves); // line added } // line added for ($i=0, $n=sizeof($products); $i<$n; $i++) { for ($iqs=0, $nn=sizeof($qs_id); $iqs<$nn; $iqs++) { // line added if( $qs_id[$iqs] == (int)$products[$i]['id']){ // line added $cart_contents_string .= '<tr><td>'; $cart_contents_string .= $products[$i]['quantity'] . ' x <a href="' . tep_href_link('product_info.php', 'products_id=' . $products[$i]['id']) . '">'; $cart_contents_string .= $products[$i]['name'] . '</a>'; // Push all attributes information in an array if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { while (list($option, $value) = each($products[$i]['attributes'])) { // echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); //BOF - Zappo - Option Types v2 - (Hidden field moved below) $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from products_options popt, products_options_values poval, products_attributes pa where pa.products_id = '" . (int)$products[$i]['id'] . "' and pa.options_id = '" . (int)$option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'"); $attributes_values = tep_db_fetch_array($attributes); // - Zappo - Option Types v2 - If attrib is Text, assign to $attr_value temporarily (Here's that hidden field) if ($value == (int)OPTIONS_VALUE_TEXT_ID) { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . TEXT_PREFIX . $option . ']', $products[$i]['attributes_values'][$option]); $attr_value = $products[$i]['attributes_values'][$option]; } else { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $attr_value = $attributes_values['products_options_values_name']; } //EOF - Zappo - Option Types v2 - (Line above Assigns $attr_value) $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name']; $products[$i][$option]['options_values_id'] = $value; $products[$i][$option]['products_options_values_name'] = $attr_value; // $attributes_values['products_options_values_name']; $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price']; $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix']; $cart_contents_string .= '<br /><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; } } $cart_contents_string .= '</td>'; //image $cart_contents_string .= '<td class="hidden-xs hidden-sm"><a href="' . tep_href_link('product_info.php', 'products_id=' . $products[$i]['id']) . '">' . tep_image('images/' . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; $products_tax = tep_get_tax_rate($products[$i]['tax_class_id']); $popup_price = $currencies->calculate_price($products[$i]['final_price'], $products_tax, $products[$i]['quantity']); $cart_contents_string .= '<td style="text-align: right; padding: 1px;" width="20%">' . $currencies->format($popup_price) . '</td></tr>'; } // line added } // line added } } $cart_contents_string .= '</table>'; ob_start(); include('includes/modules/content/' . $this->group . '/templates/modal_cart.php'); $template = ob_get_clean(); $oscTemplate->addContent($template, $this->group); $script = <<<EOL <script type="text/javascript"> $(window).on('load', function (){ $('#upCart').modal('show'); }); </script> EOL; $oscTemplate->addBlock($script, 'footer_scripts'); tep_session_unregister('new_products_id_in_cart'); } }
  14. @@hyperweb What makes the wealth of our community is sharing. When you have a problem and a community member takes time to help, the least is to give the final result so that it can help someone who is going to have the same problem.
  15. @@LeeFoster thanks :thumbsup: