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.

Newbie

Posts

Joined
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 Image


User avatar
Global Moderator

Posts

Joined
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 http://clerkscart.com/
https://www.opencart.com/index.php?rout ... n_id=26935
Ernie

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 } ?>
            </div>
related to Sellers, I have to dig into this, when I come back from work tonight... :D

Attachments

seller_on_product_page_oc_22.jpg

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


For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 7 guests