Post by callysoft » Fri Dec 30, 2016 6:36 pm

In my database oc_product i have seller_id, which display sellers id number and i also have a table called oc_sellers which contain seller_id, commision_id, username, firstname, lastname and email.

my question is how do i make product page to display the seller's name where we have brand name and prrice.



Fri Dec 30, 2016 5:42 pm

Post by Johnathan » Fri Dec 30, 2016 11:06 pm

You'll probably need to contact the developer about that, since it's an extension and not part of the standard OpenCart installation.

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Post by IP_CAM » Sat Dec 31, 2016 1:56 am

I've got this on this nice Multiseller-Version OC v.2.2.6, I use for some time for testing OC-2, just to mention it.

Code: Select all

<ul class="list-unstyled">
<li><?php echo $text_sellername; ?> <?php echo $seller_name; ?></li>
<?php if ($manufacturer) { ?>
It's part of the default source, I assume, so, it should be easy, to do it in a similar way
in an OC 1.5.6.x Multiseller Version too:
ClerksCart - Multi Vendor Marketplace ... n_id=26935

PS: And there is something else too:

Code: Select all

<?php if ($seller_status == 1) { ?>
              <button type="button" id="button-cart" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary btn-lg btn-block"><?php echo $button_cart; ?></button>
              <?php } else { ?>
              <div class="alert alert-info"><?php echo $text_sellerstatus; ?></div>
              <?php } ?>
related to Sellers, I have to dig into this, when I come back from work tonight... :D



Seller Name on Product Page - seller_on_product_page_oc_22.jpg (54.46 KiB) Viewed 1313 times

I am no longer active at this Forum.
Please don't send Personal Messages, contact:
Github OC Downloads:
2'000+ FREE OC Extensions from the World's largest Github OC Archive.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 5 guests