When we click on the node or product and you want to show show all the products related to the user who publish the current user. you have to apply filter user id filter i am showing you in the below post.
Step 1 : - Firstly you have to change the "url alias" for the node and need to add author name.
eg. if you have product content type your path pattern should be like
( [node:title]/[node:author] ) this.
path pattern:- [node:title]/[node:author]
Step 2 :- You Need to add "user Name" contextual filter in the view block.
if your url link this ->
http://115.166.142.238/souq_alhrag/ar/samsung-galaxy-j2-core/customer
http://<ip>/<projectname>/<language>/<nodeid>/<username>
select raw value under "Provide default value"and path alias 2 in my case.
No comments:
Write comments