I need to create a link like
http:// base_url / storeId / productID?q
how do I correctly specify
storeId / productID.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
You have to understand that natively, there is no URL constructed like this :
About the STORE :
To set store in URL, you can add this :
?___store=storecode (?+3 underscores)
About the PRODUCT :
You should understand that in Magento, the product page url is constructed like this :
1043 is the product id, and Magento Rewrite this URL in a pretty one like this :
So you understood, to get your URL as you need, you have to do some stuff to rewrite the native Magento URL to the yours.
I hope it clarified the way.