[TYPO3-commerce] using allArticles=0 and stock-handling
Morten Haggren
mo at idefa.dk
Wed Sep 22 08:30:50 CEST 2010
Hi Sven,
You've run into one of the oldest bugs plauging commerce ;)
http://forge.typo3.org/issues/1345
I suggest you browse up on the issue, somewhere in there is the fix we
are running on our shops ( a hook into enableColumns ).
Best of luck
/Morten Haggren
On 2010-09-22 01:14, Sven Schumacher wrote:
> Am 21.09.2010 18:03, schrieb Sven Schumacher:
>> Hello,
>>
>> is there any switch or simple way to get dropdowns (like allArticles=0
>> provides) but without nostock-articles?
>
> First step to achieve what I wanted:
> Instead of disabling not existing combinations, I switched to
>
> style="display:none;"
>
> instead of
>
> disabled="disabled"
>
> The "only" thing I still have to do is setting values to disabled if the
> item is out of stock...
>
> The attached patch has an option via Constant-Editor in tx_commerce_pi1
> (DISPLAY) to switch between the old behaviour (disabled
> attribute-values) and my favorite one.
>
> Any suggestions where to have a look for adding the
> WHERE-CLAUSE " tx_comstockhandling >0" ?
>
> There must be somewhere the part where a list of all used attribute
> values is built.
>
> Thanks in advance for any suggestions
>
> Sven
>
>
--
RewriteRule ^Morten Olesen$ Morten Haggren [R=301,L]
More information about the TYPO3-project-commerce
mailing list