Jump to content

Obtaining product details from other shops


Recommended Posts

I'm working on a back-office module that needs to iterate through all products, whatever store they belong to by default, and get information about each as if it were being accessed in the context of (for now) the store that owns it.


I'm seeing a lot of inconsistency in the subroutines I'm trying to use - some will take $id_shop as a parameter, which is great; I can just pass $id_shop_default.  Some take a Context as a parameter, whichI think  I've managed to deal with.  Others don't have any way of specifying a shop, or appear to ignore the parameters. e.g. my current issue is with Product::getImages 


So. what's the best / proper way to access such things?  






Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More