How Can I Get User Zipcode To Show On Product Page, Thanks

I tried this but no luck {$user_info.zipcode}

Hello

Where exactly do you want to show it?

Best regards

Robert

I want to get the zipcode of the customer and show it on the product page

Hello

Try this

{$smarty.session.cart.user_data.s_zipcode}

Best regards

Robert

Awesome great solution, Thanks! Do you know how i can show the review count on the home page, i was able to display the product ratings 5 star but the number of reviews count won't show up

Hello

You can try something like this:

{assign var="reviews" value=""|fn_get_discussions}
{$reviews[0]|@count}
in block type html with smarty.
Best regards
Robert

Wonderful, Thanks! i may need to show more stuff, is it fine if i ask you here directly?

Hello

Yes. No problem.

Best regards

Robert

on the reviews, it's not showing individual product ratings on the homepage


Thank you!

Hello

Yes. No problem.

Best regards

Robert

example of what i was looking on the homepage is:

product:

White t-shirt small, medium and large sizes

X X X X X (35)

Hello

None of these addns meet your expectations?

https://marketplace.cs-cart.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&cid=&q=product+reviews&dispatch=products.search

Best regards

Robert

No, i already have the star rating on there.

I have some products on the homepage with the 5 star rating already on them i want to show the number of people that have rated each product next to the star on homepage. (177 customer ratings). It works on the product page but not on the home page. They code you gave showed the number of the total reviews for all the products, but i want it to be for only the individual product (product_id)