Special badges
special badges feature for Preorder and Custom production including automatic updates for the following cases:
1. if the product qty is zero or less AND the custom attribute "Product Status Finansit" value is 20-23, we will change the value of
custom attribute "availability" to "Pre-order". in this case also change the value of stock of "Backorders" = allow qty below 0" and
change "Stock Availability" of magento to "in stock" to allow backorders
2. If a product is 0 stock with custom attribute "Product Status Finansit" of 1-6 - then the product will change to "not visible
individually".
3. If a product is 0 stock with custom attribute "Product Status Finansit" of 7-8- then we will change the value of custom attribute
"availability" to Custom Production.
in this case also change the value of stock of "Backorders" = allow qty below 0" and change "Stock Availability" of magento to
"in stock" to allow backorders
4. Exceptions to the RULES: If a product is 0 stock and belong to one of this categories:
Sefer Torah Cases
Candelabra
they should always be "Custom Production"
in this case also change the value of stock of "Backorders" = allow qty below 0" and change "Stock Availability" of magento to
"in stock" to allow backorders
5. with all cases above we exclude products that have
"machsan" attaribute with value = "MIA".
if product have "machsan" attribute with value = MIA
and also magento stock - qty is zero
we need will change the value of stock of "Backorders" = allow qty below 0" and also change the "Stock Availability" of magento
to "in stock" t allow backorders.
we will not update the custom "internal use" attribute "Availability" at all in this case. so it will not show badge of custom
production or preorder at all.
added 2 badges that will be manual: "Fast shipping", "Sale"
admin will be able to assign this 2 badges manually.
will show both on category/search results and on product page
manual badges have the highest priority if product have more than 1 badge assigned to it.
text for this 2 block badges can be edited via the static blocks section for HE+EN
** enabling/disabling or excluding categories like candelabra and tora cases is done from
Betanet->Betanet cases
discount badges with automatic discount percent
managed from Betanet utility->Setting Show Badges ->enable/disable
limit - >we will set the discount amount that from here up we will show the badge, if product have lower discount it will not show
this badge