Page 1 of 1

including seller's name in the product information

Posted: Fri Dec 30, 2016 6:36 pm
by callysoft
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.

Posted: Fri Dec 30, 2016 11:06 pm
by Johnathan
You'll probably need to contact the developer about that, since it's an extension and not part of the standard OpenCart installation.

Seller Name on OC Product Page

Posted: 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