Jump to content

Detecting the use of "use Stock level"


Recommended Posts

I was thinking is there a way to detect the toggle "Use Stock Level" on the skin level.

The rough idea I have was;

On the Product page

"Use Stock Level = True"

Display Normal Buy box

"Use Stock Level = False"

Display Normal buy Box with the messaging "This item is Special Order and may take 3 additional days to arrive"

Link to comment
Share on other sites

Yes. That data item is found in {$PRODUCT.use_stock_level}.

The code sequence:

{if $PRODUCT.use_stock_level}Extra language{/if}

will need to be in template code (as opposed to the "Description" content of the product's data).

  • Like 1
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.

×
×
  • Create New...