Get Seller NameLoad with addWebsiteFilter not workingMultivendor based on priceMagento send Order update mailsGet Assign product collection?Magento get Unique sku?Order approve mailGet Other Seller id'sCreate custom urlGet no order from product name or product descriptionhow to fetch order number, payment method and customer name according to invoice number in admin panel grid?
Designing a magic-compatible polearm
Why does std::string_view create a dangling view in a ternary expression?
Improve appearance of the table in Latex
Warnings using NDSolve on wave PDE. "Using maximum number of grid points" , "Warning: scaled local spatial error estimate"
How can a warlock learn from a spellbook?
What is the "ls" directory in my home directory?
Why isn't it a compile-time error to return a nullptr as a std::string?
Should I include an appendix for inessential, yet related worldbuilding to my story?
Prisoner on alien planet escapes by making up a story about ghost companions and wins the war
Explain why a line can never intersect a plane in exactly two points.
What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a dart mean?
Print one file per line using echo
What are the current battlegrounds for people’s “rights” in the UK?
I found a password with hashcat, but it doesn't work
Greeting with "Ho"
Umlaut character order when sorting
What was the first third-party commercial application for MS-DOS?
Do I have to explain the mechanical superiority of the player-character within the fiction of the game?
How long did the SR-71 take to get to cruising altitude?
Draw a symmetric alien head
Dates on degrees don’t make sense – will people care?
macOS: How to take a picture from camera after 1 minute
Mathematically modelling RC circuit with a linear input
Is there any proof that high saturation and contrast makes a picture more appealing in social media?
Get Seller Name
Load with addWebsiteFilter not workingMultivendor based on priceMagento send Order update mailsGet Assign product collection?Magento get Unique sku?Order approve mailGet Other Seller id'sCreate custom urlGet no order from product name or product descriptionhow to fetch order number, payment method and customer name according to invoice number in admin panel grid?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am using marketplace in my website in that how to get seller Name and url
$collection= Mage::getModel('marketplace/sellerprofile')->load($sellerId,'seller_id');
I get Seller Id in above mention way how to get Seller Name & url
this is the field name store_title
Can you please suggest me how to get that
magento-1.9
add a comment |
I am using marketplace in my website in that how to get seller Name and url
$collection= Mage::getModel('marketplace/sellerprofile')->load($sellerId,'seller_id');
I get Seller Id in above mention way how to get Seller Name & url
this is the field name store_title
Can you please suggest me how to get that
magento-1.9
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04
add a comment |
I am using marketplace in my website in that how to get seller Name and url
$collection= Mage::getModel('marketplace/sellerprofile')->load($sellerId,'seller_id');
I get Seller Id in above mention way how to get Seller Name & url
this is the field name store_title
Can you please suggest me how to get that
magento-1.9
I am using marketplace in my website in that how to get seller Name and url
$collection= Mage::getModel('marketplace/sellerprofile')->load($sellerId,'seller_id');
I get Seller Id in above mention way how to get Seller Name & url
this is the field name store_title
Can you please suggest me how to get that
magento-1.9
magento-1.9
edited Mar 11 '16 at 19:10
asked Mar 11 '16 at 19:00
user31402
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04
add a comment |
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04
add a comment |
1 Answer
1
active
oldest
votes
I'm not familiar with that module, but give this a try
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId);
You should be able to just load it with the ID, if that doesn't work, use your original code
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId, 'seller_id');
Now you should be able to echo the name, which should be one of these:
echo $sellerProfile->getName();
Or
echo $sellerProfile->getSellerName();
If you still can't find it after that, try doing a var_dump of the model's data
var_dump($sellerProfile->getData());
If you can find what the attribute's name is, you should be able to camel-case it into a get call on the model, for example:
If you see the attribute key is 'seller_profile_name' the call would be:
echo $sellerProfile->getSellerProfileName();
Let me know how this works out for you.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f105874%2fget-seller-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm not familiar with that module, but give this a try
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId);
You should be able to just load it with the ID, if that doesn't work, use your original code
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId, 'seller_id');
Now you should be able to echo the name, which should be one of these:
echo $sellerProfile->getName();
Or
echo $sellerProfile->getSellerName();
If you still can't find it after that, try doing a var_dump of the model's data
var_dump($sellerProfile->getData());
If you can find what the attribute's name is, you should be able to camel-case it into a get call on the model, for example:
If you see the attribute key is 'seller_profile_name' the call would be:
echo $sellerProfile->getSellerProfileName();
Let me know how this works out for you.
add a comment |
I'm not familiar with that module, but give this a try
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId);
You should be able to just load it with the ID, if that doesn't work, use your original code
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId, 'seller_id');
Now you should be able to echo the name, which should be one of these:
echo $sellerProfile->getName();
Or
echo $sellerProfile->getSellerName();
If you still can't find it after that, try doing a var_dump of the model's data
var_dump($sellerProfile->getData());
If you can find what the attribute's name is, you should be able to camel-case it into a get call on the model, for example:
If you see the attribute key is 'seller_profile_name' the call would be:
echo $sellerProfile->getSellerProfileName();
Let me know how this works out for you.
add a comment |
I'm not familiar with that module, but give this a try
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId);
You should be able to just load it with the ID, if that doesn't work, use your original code
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId, 'seller_id');
Now you should be able to echo the name, which should be one of these:
echo $sellerProfile->getName();
Or
echo $sellerProfile->getSellerName();
If you still can't find it after that, try doing a var_dump of the model's data
var_dump($sellerProfile->getData());
If you can find what the attribute's name is, you should be able to camel-case it into a get call on the model, for example:
If you see the attribute key is 'seller_profile_name' the call would be:
echo $sellerProfile->getSellerProfileName();
Let me know how this works out for you.
I'm not familiar with that module, but give this a try
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId);
You should be able to just load it with the ID, if that doesn't work, use your original code
$sellerProfile = Mage::getModel('marketplace/sellerprofile')->load($sellerId, 'seller_id');
Now you should be able to echo the name, which should be one of these:
echo $sellerProfile->getName();
Or
echo $sellerProfile->getSellerName();
If you still can't find it after that, try doing a var_dump of the model's data
var_dump($sellerProfile->getData());
If you can find what the attribute's name is, you should be able to camel-case it into a get call on the model, for example:
If you see the attribute key is 'seller_profile_name' the call would be:
echo $sellerProfile->getSellerProfileName();
Let me know how this works out for you.
answered Mar 11 '16 at 19:22
nick.grazianonick.graziano
22419
22419
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f105874%2fget-seller-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
can you print the $collection data?? in that you have find out the seller name??
– Ajay Patel
Mar 12 '16 at 4:04