Jump to content
xt:Commerce Community Forum

Drop Down Auswahl Anzahl der Artikel Produktseite


Recommended Posts

Hallo Ecki,

 

das machst Du direkt in Deinem (eignen) Template (nicht im BE): .../xtCore/pages/product/product.html

Dort suchst Du nachfolgendem Abschnitt:

                            {* mengenauswahl dropdown oder number *}
                            {assign var=quantity_input value='dropdown'}

                            {* werte für das dropdown *}
                            {if empty($qtyOptions)}
                                {$maxQuantity = 30}
                                {$qtyOptions = []}
                                {$i = 0}
                                {while $i < $maxQuantity}
                                    {$n = $i + 1}
                                    {$qtyOptions.$i = ['id' => $n, 'text' => $n]}
                                    {$i = $i + 1}
                                {/while}
                            {/if}
 

Entweder den Fett markierten Wert dropdown in number ändern - fertig (der Kunde kann dann auch mehr als 101 eingeben.

Oder nur den Wert von $maxQuantity von 30 auf 100 ändern - fertig.

Speichern nicht vergessen und am besten aufschreiben, daß in der Datei etwas geändert wurde. ;)

Herzliche Grüße
Nils

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
  • Create New...