• My account
    • (X)Sign in

      I am a returning customer at TYPO3 Multishop

      Enter your username and password here in order to log in on the website:

      Forgot your password?

      Not yet customer of TYPO3 Multishop?

      • Order history
      • Automatic generated e-mail history
      • Track your Order
      New at TYPO3 Multishop
You are here:

Help by translating Multishop in your local language

On the following page you can help by translating Multishop in your local language:

https://translation.typo3.org/projects/TYPO3.ext.multishop/

Spanish:

https://translation.typo3.org/es/TYPO3.ext.multishop/pi1/locallang.xlf

The following language are already translated by our supporters:

  • Dutch
  • German
  • French

bug in mini basket


Author Message
renep
Rene Pleitz
Multishop experienced
Topic creator
registered since: 22.12.2011
Posts: 11
Hi base,

the link in the mini basket is wrong if you use a checkout page.
Link mini basket: /shop/section/checkout.html, direct checkout.

Link basket: /shop/checkout/section/checkout.html, checkout over checkout page.


Where is the correct possition to fix it.

Thanks renep
Written on: 07. 01. 2012 [18:54]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
I can't replicate your issue. The code is in scripts/front_pages/includes/content_elements/basket_default.php

<?php
$this->box_class="multishop_basket";
$this->cObj->data['header']='<a href="'.mslib_fe::typolink($this->conf['shoppingcart_page_pid'],'&tx_multishop_pi1[page_section]=shopping_cart').'">'.$this->pi_getLL('basket').'</a>';
$cart = $GLOBALS['TSFE']->fe_user->getKey('ses',$this->cart_page_uid);
$totalitems=0;
if (count($cart['products']) >0)
{
foreach ($cart['products'] as $product)
{
if (is_numeric($product['qty'])) $totalitems=$totalitems+$product['qty'];
}
}
$content.='<div class="multishop_basketbox">';
$content.=(($totalitems==1)?sprintf($this->pi_getLL('you_have_item_in_your_cart'),$totalitems):sprintf($this->pi_getLL('you_have_items_in_your_cart'),$totalitems)).'.';
if ($totalitems > 0) $content.=' <a class="multishop_goto_checkout" href="'.mslib_fe::typolink($this->shop_pid,'&tx_multishop_pi1[page_section]=checkout').'">'.$this->pi_getLL('proceed_to_checkout').'</a>';
$content.='</div>';
/*
<a href="'.mslib_fe::typolink($this->shop_pid,'&tx_multishop_pi1[page_section]=shopping_cart').'"> See all Products </a>
*/
$content .= '
<div id="basketWrap">
<div id="basketTitleWrap">
<span id="notificationsLoader"></span>
</div>
<div id="basketItemsWrap">
<ul>
<li></li>
</ul>
</div>
</div>';
?>
Written on: 08. 01. 2012 [11:17]
renep
Rene Pleitz
Multishop experienced
Topic creator
registered since: 22.12.2011
Posts: 11
Hi,

the problem is the link.
I changed the link in the mini basket from:
.mslib_fe::typolink($this->shop_pid,'&tx_multishop_pi1[page_section]=checkout').

in to:
.mslib_fe::typolink($this->conf['checkout_page_pid'],'&tx_multishop_pi1[page_section]=checkout').
Written on: 08. 01. 2012 [11:42]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
Excellent. Also this will be fixed in our next release. Case solved.
Written on: 08. 01. 2012 [13:01]