If you set a Minimun Quantity Orderable, when you add the item to the wishlist the wishlist page 'Qty Required' and 'Qty Remaining' show the 'Minimun Quantity Orderable' (or a multple of it if you add the product to the wishlist twice or more).
The 'AddQty' shows '1' and if you add to cart either nothing happens or the layout breaks and a second page appears below the first with the AddQty highlighted!
The variable that draws the html for the 'WISHLISTQUANTITYADD' is <actinic:variable name="WishListQuantity" />
Looking at WishList.pl, line 661 the quantity input seems to be defined here.
In 'GetPhrase' - 3091 is the ID in Design Text, 1 is the minum quantity, 32767 is the maximum quantity
I have tried variously adding the <actinic:variable name="MinQuantityOrderable" /> as well as creating a variable within WishList.pl ( $::g_sMinQty = "<actinic:variable name="MinQuantityOrderable" />" ) and using that but nothing shifts the quantity in WishListQuantity above '1'
I have also tried using the already defined "$nRemaining" as it is the correct numerical value to no avail.
I suspect it is my syntax writing in the pl file that is at fault.
How may I get the 'AddQty' input to show the 'MinQuantityOderable'?
Thank you
The 'AddQty' shows '1' and if you add to cart either nothing happens or the layout breaks and a second page appears below the first with the AddQty highlighted!
The variable that draws the html for the 'WISHLISTQUANTITYADD' is <actinic:variable name="WishListQuantity" />
Looking at WishList.pl, line 661 the quantity input seems to be defined here.
Code:
$VariableTable{$::VARPREFIX . 'WISHLISTQUANTITYADD'} = ACTINIC::GetPhrase(-1, 3091, 1, 32767, 'Q_' . $sProdRef, 1);#"<input type='number' min='0' max='32767' size='4' name='Q_$sProdRef' value='1'/>";
I have tried variously adding the <actinic:variable name="MinQuantityOrderable" /> as well as creating a variable within WishList.pl ( $::g_sMinQty = "<actinic:variable name="MinQuantityOrderable" />" ) and using that but nothing shifts the quantity in WishListQuantity above '1'
I have also tried using the already defined "$nRemaining" as it is the correct numerical value to no avail.
I suspect it is my syntax writing in the pl file that is at fault.
How may I get the 'AddQty' input to show the 'MinQuantityOderable'?
Thank you
Comment