Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 105551
1 vote
2 answers
383 views

how to get error message if QTY exceed ask QTY

How to get error message if ask QTY higher than the QTY in stock. like IsSalableWithReservationsCondition.php file that echo the "The requested qty is not available" how to use the same logic but use …
Bayzel's user avatar
  • 187
3 votes
1 answer
290 views

Show a Text if attribute is set to "yes"

I want to display "it working" on default.phtml if the product is assigned to attribute [Franke] with "yes". Please help. I have tried the below code, but it doesn't work getProduct()->getAttributeTe …
Bayzel's user avatar
  • 187
0 votes
2 answers
293 views

how to get attribute value to show on error message

I have this code that show error message if QTY requested is smaller than QTY on stock. i have created attributes and assign values into them. how to get those values in those attributes shown in this …
Bayzel's user avatar
  • 187
0 votes

how to get attribute value to show on error message

this code worked for me. $product->getResource()->getAttributeRawValue($product->getId(), 'attribute_code', $product->getStoreId());
Bayzel's user avatar
  • 187