Search Results
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 |
Denotes a question related to the Magento products.
1
vote
Display shopping cart only when salable products are displayed
/cart/minicart.phtml
Here First you need to get current product as you need to hide minicart from product page so to get current product use below code
<? … >getId();
echo $product->getName();
? …
0
votes
How to display the products in the wishlist of particular customer?
You can use below code
private $wishlist;
public function __construct(
...
\Magento\Wishlist\Model\Wishlist $wishlist
) {
$this->wishlist = $wishlist;
...
…
0
votes
Product AddToCart Product list page magento 1.9.1
This is because you added java-script code in bottom of file so it will always add last item from listing page.
so you need to put the JS code inside the foureach loop or you need to dynamically call …