• 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

Product detail page, "Add to cart" button always appears as "disabled product"


Author Message
uliilu
Uli von Homeyer
Multishop experienced
registered since: 03.07.2012
Posts: 8
Hi Bas,

in the file typo3conf/ext/multishop/scripts/front_pages/includes/products_detail/default.php, downloaded Multishop-GIT version from 17.12.2014, 1:25pm.

In line 203 the $product_qty variable is defined the first time. Later in the lines 208, 210, 215 and 217 it gets defined again, but now as a string. Further down in line 253 a true or false is needed, which didn't work on my server, well it did, but I always got, allthough the stock number is well over 0, "disabled product" instead of "Add to cart" as expected. After adding an additional variable, in my case "$product_quantity" which contains the same stock number as "$product_qty" after first definition, and using my variable in the true/false line 253 now let's "Add to cart" appear.

Do I understand something wrong or could this be a bug?

Thanks you and all the best

Uli
Written on: 17. 12. 2014 [16:10]