If you want to exclude current node and product in block view in drupal 8 pls follow the below steps.
Step 1 :- Create a block view.
Step 2 :- Add Content Under "Contextual Filters", select "Provide Default value"->"Content Id from url"
Step 3 :- Scroll Down at bottom and Check "Exclude" under "More".
Step 1 :- Create a block view.
Step 2 :- Add Content Under "Contextual Filters", select "Provide Default value"->"Content Id from url"
Step 3 :- Scroll Down at bottom and Check "Exclude" under "More".
Step 4 :- Apply filter and save changes , now only content id which is the url doesn't show in the block view.
No comments:
Write comments