Jump to content

Product meta data from smarty variables


Recommended Posts

Hello,

 

I'm trying to optimize our shop for search engines. Now some values are missing, when looing at this example from Goolge:
https://developers.google.com/search/docs/appearance/structured-data/product?hl=en#product-with-shipping-example

I need following:

  • brand
  • shippingDestination -> addressCountry
  • deliveryTime (all sub values)
  • transitTime (all sub values)

When dumping the $product variable, I can't find these values, also in the smarty variables lists online.

I was looking for all Prestashop smarty values and always found the same list. E.g. here:
https://gist.github.com/salase/d6b51bfa97c5b0f94885206a47633513

I'm quite sure that it's always the same list, because they have always the same error inside on line 50:

{$shop..address.country}

This should be:

{$shop.address.country}

 

Edited by creation-handicap (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...