osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

6 Pages V  « < 3 4 5 6 >  
Reply to this topicStart new topic
> [CONTRIBUTION] iOSC3 - OSCommerce mobile
mykiki_1
posté 10 Oct 2011, 21:04
Message #101


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Bonjour a tous, j'ai installer cette super contribution pour mobile a mon oscommerce.
Seul problème le chekout, je sait que je ne suis pas le premier à le dire, mais peut être que quelqu'un en sait plus svp aider cette contribution est tout simplement super et j'aimerai que mes clients en profite pleinement.
Suis je le seul qui n'arrive pas a passer la commande jusqu'a la fin ???
Que quelqu'un me réponde svp!!!
Go to the top of the page
 
cebb
posté 12 Dec 2011, 11:18
Message #102


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 16
Inscrit : 6-January 08
Lieu : fontainebleau
Membre no 20292



Bonjour à tous,
j'ai installer la contribution iosc3,
j'ai un problème de détection des navigateurs,
il switch systématiquement sur la version mobile, Firefox / IE / chrome
j'ai installé la dernière : addons.oscommerce.com/info/7636

avez vous un conseil ??
merci d'avance..


--------------------
Cebb

Contrib installé :

send html mail - cross selling - scroll whats news & specials - seo - header tags - crimages - tnt - colissimo - discount coupons - google map review - SEO URL -
xsell product - whats new box scrolling - osCid Fix -
Go to the top of the page
 
mykiki_1
posté 16 Jan 2012, 20:17
Message #103


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Salut a tous qqun a du new pour les checkout payment ???
je n'arrive toujours pas a passer les cartes de credits ou meme paypal et j'ai un probleme aussi qui s'affiche lorsque je rajoute un article dans mon panier j'ai le message d'erreur suivant :
" FATAL error: call to undefined method payment::chekout_initialization_method() in /home/mon site/www/catalog/mobile_shopping_cart.php on line 160 ".

Je vous en suppli un petit coup de main SVP, j'en ai vraiment besoin !!!!!!!!!! J'en ai vraiment besoin je veux que ce module fonctionne !!!!!
Go to the top of the page
 
oneill
posté 17 Jan 2012, 17:12
Message #104


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Colles moi ici ton mobile_checkout_confirmation.php

Et pour ton mobile_shopping_cart.php ligne 161 sur la dernière version et chez toi surement ligne 160, la ligne qui pose problème est commentée. Fais en autant.
Code
    //$initialize_checkout_methods = $payment_modules->checkout_initialization_method();


--------------------
Go to the top of the page
 
mykiki_1
posté 17 Jan 2012, 20:05
Message #105


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Voici mon mobile checkout_confirmation.php :

Code
<?php
require_once('mobile/includes/application_top.php');

// if the customer is not logged on, redirect them to the login page
  if (!tep_session_is_registered('customer_id')) {
    $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));
    tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL'));
  }

// if there is nothing in the customers cart, redirect them to the shopping cart page
  if ($cart->count_contents() < 1) {
    tep_redirect(tep_mobile_link(FILENAME_SHOPPING_CART));
  }

// avoid hack attempts during the checkout procedure by checking the internal cartID
  if (isset($cart->cartID) && tep_session_is_registered('cartID')) {
    if ($cart->cartID != $cartID) {
      tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    }
  }

// if no shipping method has been selected, redirect the customer to the shipping method selection page
  if (!tep_session_is_registered('shipping')) {
    tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
  }

  if (!tep_session_is_registered('payment')) tep_session_register('payment');
  if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment'];

  if (!tep_session_is_registered('comments')) tep_session_register('comments');
  if (tep_not_null($HTTP_POST_VARS['comments'])) {
    $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']);
  }

// load the selected payment module
  require(DIR_WS_CLASSES . 'payment.php');
  $payment_modules = new payment($payment);

  require(DIR_WS_CLASSES . 'order.php');
  $order = new order;

  $payment_modules->update_status();

  if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) {
    tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));
  }

  if (is_array($payment_modules->modules)) {
    $payment_modules->pre_confirmation_check();
  }

// load the selected shipping module
  require(DIR_WS_CLASSES . 'shipping.php');
  $shipping_modules = new shipping($shipping);

  require(DIR_WS_CLASSES . 'order_total.php');
  $order_total_modules = new order_total;
  $order_total_modules->process();

// Stock Check
  $any_out_of_stock = false;
  if (STOCK_CHECK == 'true') {
    for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
      if (tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty'])) {
        $any_out_of_stock = true;
      }
    }
    // Out of Stock
    if ( (STOCK_ALLOW_CHECKOUT != 'true') && ($any_out_of_stock == true) ) {
      tep_redirect(tep_mobile_link(FILENAME_SHOPPING_CART));
    }
  }

  require(DIR_WS_LANGUAGES . $language . '/checkout_confirmation.php');

  $breadcrumb->add(NAVBAR_TITLE_1, tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
  $breadcrumb->add(NAVBAR_TITLE_2);

    require(DIR_MOBILE_INCLUDES . 'header.php');
    $headerTitle->write();
?>
<?php
  if (isset($$payment->form_action_url)) {
    $form_action_url = $$payment->form_action_url;
  } else {
    $form_action_url = tep_mobile_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
  }

  echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
  if (is_array($payment_modules->modules)) {
    if ($confirmation = $payment_modules->confirmation()) {
?>
      <tr>
        <td class="main"><b><?php echo HEADING_PAYMENT_INFORMATION; ?></b></td>
      </tr>
      <tr>
        <td>
            <table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main" colspan="4"><?php echo $confirmation['title']; ?></td>
              </tr>
<?php
      for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {
?>
              <tr>
                <td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td>
                <td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td>
              </tr>
<?php
      }
?>
                </table>
        </td>
      </tr>
<?php
    }
  }
?>
      <tr class="categories">
        <td class="main" style="padding: 5px;"><input type="submit" value="<?php echo IMAGE_BUTTON_CONFIRM_ORDER; ?>"></td>
      </tr>
      <tr>
        <td><hr class="separator"></td>
      </tr>
      <tr>
        <td>
            <table border="0" cellspacing="0" cellpadding="2">
<?php
  if (MODULE_ORDER_TOTAL_INSTALLED) {
    echo $order_total_modules->output();
  }
?>
            </table>
        </td>      
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_PAYMENT_METHOD . '</b>' .  '&nbsp;&nbsp;<a href="' . tep_mobile_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo $order->info['payment_method']; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_BILLING_ADDRESS . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?></td>
      </tr>
<?php
    if ($sendto != false) {
        if ($order->info['shipping_method']) {
?>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_SHIPPING_METHOD . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo $order->info['shipping_method']; ?></td>
      </tr>
<?php
        }
?>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>
      </tr>
<?php
    } // end of if ($sendto != false)
?>
<!-- cart -->
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
              <tr>
                <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
  if (sizeof($order->info['tax_groups']) > 1) {
?>
                  <tr>
                    <td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
                    <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td>
                    <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td>
                  </tr>
<?php
  } else {
?>
                  <tr>
                    <td class="main" colspan="3"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
                  </tr>
<?php
  }

  for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
    echo '          <tr>' . "\n" .
         '            <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
         '            <td class="main" valign="top">' . $order->products[$i]['name'];

    if (STOCK_CHECK == 'true') {
      echo tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty']);
    }

    if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
      for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
        echo '<br><nobr><small>&nbsp;<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>';
      }
    }

    echo '</td>' . "\n";

    if (sizeof($order->info['tax_groups']) > 1) echo '            <td class="main" valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n";

    echo '            <td class="main" align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '</td>' . "\n" .
         '          </tr>' . "\n";
  }
?>
                </table></td>
              </tr>
<!-- end of cart -->
      <tr class="categories">
        <td class="main" style="padding: 5px;"><input type="submit" value="<?php echo IMAGE_BUTTON_CONFIRM_ORDER; ?>"></td>
      </tr>
      <tr><td><table width="100%"  cellspacing="0" cellpadding="0">
<?php echo     tep_mobile_selection(tep_mobile_link(FILENAME_SHOPPING_CART, '', 'SSL'), array(BOX_HEADING_SHOPPING_CART) ); ?>
      </table></td></tr>
    </table>
</form>
<?php require(DIR_MOBILE_INCLUDES . 'footer.php'); ?>




Merci a toi de bien vouloir m'aider c'est gentil, par contre j'ai pas trop pigee pour le comentaire de la ligne 160 ??
Que veut tu dire par commentee ??

sur la ligne 160 c'est ce que j'ai d'ecrit :

$initialize_checkout_methods = $payment_modules->checkout_initialization_method();

Merci encore !!
Go to the top of the page
 
oneill
posté 18 Jan 2012, 17:39
Message #106


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Voila ton nouveau fichier modifié.

Code
<?php
require_once('mobile/includes/application_top.php');

// if the customer is not logged on, redirect them to the login page
  if (!tep_session_is_registered('customer_id')) {
    $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));
    tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL'));
  }

// if there is nothing in the customers cart, redirect them to the shopping cart page
  if ($cart->count_contents() < 1) {
    tep_redirect(tep_mobile_link(FILENAME_SHOPPING_CART));
  }

// avoid hack attempts during the checkout procedure by checking the internal cartID
  if (isset($cart->cartID) && tep_session_is_registered('cartID')) {
    if ($cart->cartID != $cartID) {
      tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    }
  }

// if no shipping method has been selected, redirect the customer to the shipping method selection page
  if (!tep_session_is_registered('shipping')) {
    tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
  }

  if (!tep_session_is_registered('payment')) tep_session_register('payment');
  if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment'];

  if (!tep_session_is_registered('comments')) tep_session_register('comments');
  if (tep_not_null($HTTP_POST_VARS['comments'])) {
    $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']);
  }

// load the selected payment module
  require(DIR_WS_CLASSES . 'payment.php');
  $payment_modules = new payment($payment);

  require(DIR_WS_CLASSES . 'order.php');
  $order = new order;

  $payment_modules->update_status();

  if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) {
    tep_redirect(tep_mobile_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));
  }

  if (is_array($payment_modules->modules)) {
    $payment_modules->pre_confirmation_check();
  }

// load the selected shipping module
  require(DIR_WS_CLASSES . 'shipping.php');
  $shipping_modules = new shipping($shipping);

  require(DIR_WS_CLASSES . 'order_total.php');
  $order_total_modules = new order_total;
  $order_total_modules->process();

// Stock Check
  $any_out_of_stock = false;
  if (STOCK_CHECK == 'true') {
    for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
      if (tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty'])) {
        $any_out_of_stock = true;
      }
    }
    // Out of Stock
    if ( (STOCK_ALLOW_CHECKOUT != 'true') && ($any_out_of_stock == true) ) {
      tep_redirect(tep_mobile_link(FILENAME_SHOPPING_CART));
    }
  }

  require(DIR_WS_LANGUAGES . $language . '/checkout_confirmation.php');

  $breadcrumb->add(NAVBAR_TITLE_1, tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
  $breadcrumb->add(NAVBAR_TITLE_2);

    require(DIR_MOBILE_INCLUDES . 'header.php');
    $headerTitle->write();
?>
<?php
  if (isset($$payment->form_action_url)) {
    $form_action_url = $$payment->form_action_url;
  } else {
    $form_action_url = tep_mobile_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
  }

  echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');


  if (is_array($payment_modules->modules)) {
    echo $payment_modules->process_button();
  }

  if (isset($$payment->form_submit)) {
    $form_submit = $$payment->form_submit;
  }

  echo tep_draw_form('checkout_confirmation', $form_submit, 'post');

?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
  if (is_array($payment_modules->modules)) {
    if ($confirmation = $payment_modules->confirmation()) {
?>
      <tr>
        <td class="main"><b><?php echo HEADING_PAYMENT_INFORMATION; ?></b></td>
      </tr>
      <tr>
        <td>
            <table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main" colspan="4"><?php echo $confirmation['title']; ?></td>
              </tr>
<?php
      for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) {
?>
              <tr>
                <td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td>
                <td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td>
              </tr>
<?php
      }
?>
                </table>
        </td>
      </tr>
<?php
    }
  }
?>
      <tr class="categories">
        <td class="main" style="padding: 5px;"><input type="submit" value="<?php echo IMAGE_BUTTON_CONFIRM_ORDER; ?>"></td>
      </tr>
      <tr>
        <td><hr class="separator"></td>
      </tr>
      <tr>
        <td>
            <table border="0" cellspacing="0" cellpadding="2">
<?php
  if (MODULE_ORDER_TOTAL_INSTALLED) {
    echo $order_total_modules->output();
  }
?>
            </table>
        </td>      
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_PAYMENT_METHOD . '</b>' .  '&nbsp;&nbsp;<a href="' . tep_mobile_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo $order->info['payment_method']; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_BILLING_ADDRESS . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?></td>
      </tr>
<?php
    if ($sendto != false) {
        if ($order->info['shipping_method']) {
?>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_SHIPPING_METHOD . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo $order->info['shipping_method']; ?></td>
      </tr>
<?php
        }
?>
      <tr>
          <td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b> <a href="' . tep_mobile_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
      </tr>
      <tr>
          <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>
      </tr>
<?php
    } // end of if ($sendto != false)
?>
<!-- cart -->
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></td>
      </tr>
              <tr>
                <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
  if (sizeof($order->info['tax_groups']) > 1) {
?>
                  <tr>
                    <td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
                    <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td>
                    <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td>
                  </tr>
<?php
  } else {
?>
                  <tr>
                    <td class="main" colspan="3"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_mobile_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td>
                  </tr>
<?php
  }

  for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
    echo '          <tr>' . "\n" .
         '            <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
         '            <td class="main" valign="top">' . $order->products[$i]['name'];

    if (STOCK_CHECK == 'true') {
      echo tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty']);
    }

    if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
      for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
        echo '<br><nobr><small>&nbsp;<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>';
      }
    }

    echo '</td>' . "\n";

    if (sizeof($order->info['tax_groups']) > 1) echo '            <td class="main" valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n";

    echo '            <td class="main" align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '</td>' . "\n" .
         '          </tr>' . "\n";
  }
?>
                </table></td>
              </tr>
<!-- end of cart -->
      <tr class="categories">
        <td class="main" style="padding: 5px;"><input type="submit" value="<?php echo IMAGE_BUTTON_CONFIRM_ORDER; ?>"></td>
      </tr>
      <tr><td><table width="100%"  cellspacing="0" cellpadding="0">
<?php echo     tep_mobile_selection(tep_mobile_link(FILENAME_SHOPPING_CART, '', 'SSL'), array(BOX_HEADING_SHOPPING_CART) ); ?>
      </table></td></tr>
    </table>
</form>
<?php require(DIR_MOBILE_INCLUDES . 'footer.php'); ?>


Pour le reste et je vais jouer les vieux emmerdeurs, mais tu ne sais pas ce qu'est une ligne de code commentée ? Et tu lances dans osc ?
Faut un minimum requis quand même. Voila ca c'est dit...

Donc pour commenter une ligne il faut mettre // devant la code soit exactement comme je t'ai mis la ligne en question. Mieux, tu l'effaces.

Pour remplacer ton code en entier de mobile checkout_confirmation.php tu vas y arriver ?


Je n'ai pas la même structure de page que toi. J'ai des <DIV> et non des <TABLE>. Je ne sais pas pourquoi on a régressé au niveau des versions !!


--------------------
Go to the top of the page
 
mykiki_1
posté 18 Jan 2012, 18:43
Message #107


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Alors toi tu est au top !!!
Je t'envoie une benediction lol !
je vais esseyer des que je rentre du boulot !
Je te tiens au courant, merci mille fois de ta reponse sa fait lontemps que j'attendais un petit coup de main !!
Go to the top of the page
 
mykiki_1
posté 19 Jan 2012, 19:31
Message #108


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Salut Oneill,

Alors pour la ligne 160 le pb a effectivement disparue quand je met le commentaire; soit // lol !

Par contre quand je click sur valide la commande j'ai le message d'erreur suivant:

Code
Warning: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0 in /home/isranet/www/catalog/includes/modules/payment/cc.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/isranet/www/catalog/includes/modules/payment/cc.php:173) in/home/isranet/www/catalog/includes/functions/general.php on line 29



Que faire ??


Go to the top of the page
 
mykiki_1
posté 25 Jan 2012, 09:34
Message #109


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Salut Oneill, Stp fait moi signe c'est le dernier probleme que j'ai dans ma version mobile, je c'est pas si c'est chiant a regler ou pas, que me conseille tu ?

help me please !
Go to the top of the page
 
mykiki_1
posté 25 Jan 2012, 09:41
Message #110


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Voici mon fichier cc.php ligne 173 :

Code
$order->info['cc_number'] = substr($HTTP_POST_VARS['cc_number'], 0, 4) . str_repeat('X', (strlen($HTTP_POST_VARS['cc_number']) - 8)) . substr($HTTP_POST_VARS['cc_number'], -4);



et le fichier general.php ligne 29 :



Code
header('Location: ' . $url);


faut il changer qqch ?
Go to the top of the page
 
oneill
posté 25 Jan 2012, 10:10
Message #111


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



La lecture de la FAQ fait parti des requis que je citais plus haut

http://www.oscommerce-fr.info/faq/qa_info.php?qID=35


--------------------
Go to the top of the page
 
oneill
posté 25 Jan 2012, 11:18
Message #112


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Désactive le module de paiement cc.php qui ne te sert à rien !

Je suis désolé mais je ne pourrais continuer à t'aider dans ces conditions. Tout ce que tu demandes est dans le forum. Le code que j'ai utilisé pour te dépanner plus haut est bien de moi mais il est déjà cité dans ce même post. Il te suffit juste de lire et de recopier...
Si tu n'y arrives pas, formes toi (c'est pas si difficile que ca) ou prends un prestataire. Je ne peux, décemment pas, faire le travail à ta place ou piquer le boulot d'un pro.

Inutile de me sortir les violons ou le calibre 12, j'ai déjà tout entendu à propos des requis.
http://www.oscommerce-fr.info/forum/index....showtopic=58551


--------------------
Go to the top of the page
 
mykiki_1
posté 25 Jan 2012, 12:34
Message #113


Ceinture blanche+ OSC
Icône de groupe

Groupe : Membres
Messages : 20
Inscrit : 24-July 11
Membre no 30075



Bon je sait que tu est en colere parce que je suis debutant, mais bon c'est quand meme cool de ta part mes soucci on disparu.

Question a par entiere, sait-tu si netpay ( je sais pas si tu connais ) install eux meme leur module carte de credit ou bien c'est a nous de l'installer
Cette fois ci pas d'explication juste une reponse apres je me debrouille

et encore merci mon gars !!!
Go to the top of the page
 
Team SPL
posté 19 Feb 2012, 23:53
Message #114


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 81
Inscrit : 14-July 08
Lieu : Melun City
Membre no 22442



Bonsoir,
j'ai voulu mettre dans un dossier tous les mobile_*.php de iOSC3 comme à l'origine avec iOSC Mobile v1.0 de bumbarash (voir ici) afin que je puisse ne pas les mélanger avec les autre pages de la version classique et que je puisse mettre la version mobile en sous domaine (m.maboutique.com) mais impossible, j'ai essayer mais j'y suis pas arrivé, help me please unsure.gif


--------------------
Oscommerce-2.2rc1 FR w3c 3 + Flash Shelling + Also Consider + Ask a question + Category Description + Header Tags + Super Download Shop + Family Products + Points Reward + Products New Images Text + Quick Stock Update + d'autre contrib que je n'ai plus le nom = Une bien jolie boutique !!!
Go to the top of the page
 
Team SPL
posté 25 Feb 2012, 10:44
Message #115


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 81
Inscrit : 14-July 08
Lieu : Melun City
Membre no 22442



Re,
J'ai un autre souci aussi, j'ai pas la redirection sur la page de paiement PayPal, ça va que sur la page d'accueil de compte PayPal


--------------------
Oscommerce-2.2rc1 FR w3c 3 + Flash Shelling + Also Consider + Ask a question + Category Description + Header Tags + Super Download Shop + Family Products + Points Reward + Products New Images Text + Quick Stock Update + d'autre contrib que je n'ai plus le nom = Une bien jolie boutique !!!
Go to the top of the page
 
fhuet08
posté 31 Mar 2012, 08:05
Message #116


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 6
Inscrit : 14-March 12
Membre no 30725



bonjour à tous ! super contrib !! mais juste un soucis ...
la version mobile n'aime pas les accents ! ...
une petite solution ?
Go to the top of the page
 
oneill
posté 31 Mar 2012, 08:27
Message #117


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Citation (Team SPL @ 19 Feb 2012, 23:53) *
Bonsoir,
j'ai voulu mettre dans un dossier tous les mobile_*.php de iOSC3 comme à l'origine avec iOSC Mobile v1.0 de bumbarash (voir ici) afin que je puisse ne pas les mélanger avec les autre pages de la version classique et que je puisse mettre la version mobile en sous domaine (m.maboutique.com) mais impossible, j'ai essayer mais j'y suis pas arrivé, help me please unsure.gif

Il faut juste reprendre les chemins de configuration.php non ? Un peu comme /catalog/



Citation (Team SPL @ 25 Feb 2012, 10:44) *
Re,
J'ai un autre souci aussi, j'ai pas la redirection sur la page de paiement PayPal, ça va que sur la page d'accueil de compte PayPal

Par contre, Paypal s'est mis installé "tout seul" pour ainsi dire. Seul bémol : Paypal Express est compatible avec l'affichage des Smartphones par détection (pas pour Opéra !) mais pas Paypal Integral Evolution.



Citation (fhuet08 @ 31 Mar 2012, 08:05) *
bonjour à tous ! super contrib !! mais juste un soucis ...
la version mobile n'aime pas les accents ! ...
une petite solution ?

Pas de soucis particulier la dessus... Quel genre de soucis ?


--------------------
Go to the top of the page
 
fhuet08
posté 31 Mar 2012, 08:36
Message #118


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 6
Inscrit : 14-March 12
Membre no 30725





voilà... mais ça me le fait uniquement sur la version mobile.
et autre petite chose quand je veux changer les couleur dans mobile.css ca ne me change rien. (ca à la limite pas trop grave je vais continuer à chercher là dessus)
Go to the top of the page
 
oneill
posté 31 Mar 2012, 08:41
Message #119


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Dans tes dossiers de langage /french/ les "é" ont-ils cette forme "&eacute;" ?


--------------------
Go to the top of the page
 
fhuet08
posté 31 Mar 2012, 08:49
Message #120


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 6
Inscrit : 14-March 12
Membre no 30725



non c'est des "é" "à" etc.. (includes/languages/french.php = UTF8 et dans ./mobile/includes/header.php c'est )

edit : problème reglé... j'ai remplacé dans ./mobile/includes/header.php
la ligne
Code
<meta http-equiv="Content-Type"
   content="text/html; charset=iso-8859-1" />

par
Code
<meta http-equiv="Content-Type"
   content="text/html; charset=utf-8" />


désolé ca faisait un bon moment que je cherchait et évidement c'est au moment où je demande de l'aide que je trouve ...

Ce message a été modifié par fhuet08 - 31 Mar 2012, 08:55.
Go to the top of the page
 
oneill
posté 31 Mar 2012, 09:03
Message #121


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



smile.gif


--------------------
Go to the top of the page
 
fhuet08
posté 31 Mar 2012, 11:27
Message #122


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 6
Inscrit : 14-March 12
Membre no 30725



fausse joie ! :/ je me retrouve avec un jolie

Fatal error: Call to undefined function: tep_show_view_selector_classic_view() in /mnt/153/sdb/6/5/monsite/includes/footer.php

et également un soucis pour passer du site mobile au classic. il me renvois sur le site mobile

Ce message a été modifié par fhuet08 - 31 Mar 2012, 11:46.
Go to the top of the page
 
mickael34
posté 4 Jan 2013, 09:34
Message #123


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 181
Inscrit : 3-January 08
Membre no 20263



Bonjour,

Je remonte ce post de cette excellente contribution (dont je remercie les auteurs !).

J'ai installé cette contrib sur ma ms2.2.
J'arrive même à la faire fonctionner avec Order Check (commandes perdues) et QT Pro (gestion du stock par attributs).

Tout à l'air ok, depuis mon mobile je suis bien redirigé vers la version mobile.
Si je passe commande "sans sortir" du site (paiement par virement ou chèque), là aussi tout est ok, ma commande est bien prise en compte.

Mon problème est quand j'essaye de payer par CB via SystemPay !
J'arrive bien sur SystemPay (en version mobile), je rentre mon numéro de CB et ensuite, je reviens sur la page mobile_checkout_payment avec comme message d'erreur : Votre paiement n'a pas pu être confirmé.

Sauf que côté SystemPay, mon paiement est bien passé et la CB est bien débitée !

C'est donc mon retour après mon paiement SystemPay qui n'est pas bon !

Si je test depuis mon mobile, en payant par CB sur mon site classique, par contre là c'est bon.

J'ai donc, je pense, un pb avec mon mobile_checkout_confirmation ou mon mobile_checkout_process ou la configuration de mon module SystemPay peut-être !
J'ai essayé les dernières version de la contrib, les modifs d'Oneill plus haut dans ce post mais idem.

Le support SystemPay n'a pas pu m'aider.

Est-ce que quelqu'un a déjà réussi à faire fonctionner correctement IOSC et SystemPay ?
smile.gif


--------------------
Sur OsCommerce 2.2
Go to the top of the page
 
oneill
posté 4 Jan 2013, 10:50
Message #124


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 7634
Inscrit : 28-December 03
Lieu : Hollywood les Granits
Membre no 1773



Ta boutique tourne sous Php 5 ou php 4 ?


--------------------
Go to the top of the page
 
mickael34
posté 4 Jan 2013, 11:04
Message #125


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 181
Inscrit : 3-January 08
Membre no 20263



sous php4
je sais c'est mal... smile.gif


--------------------
Sur OsCommerce 2.2
Go to the top of the page
 

6 Pages V  « < 3 4 5 6 >
Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 19th March 2024 - 07:21
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)