Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

"Shop By Brand" module for X-Cart 5
 
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 11-10-2014, 04:55 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Shop By Brand module for X-Cart 5

The link to the template file is defined here:
\XLite\Module\QSL\ShopByBrand\View\Product\Details \Brand::getDefaultTemplate()

The logic is as follows:

1. The "@ListChild" tag in the product/details/parts/brand.tpl template makes this template appear on the product page (and in the quick look).

2. This template renders the XLite\Module\QSL\ShopByBrand\View\Product\Details\ Brand widget. "Renders" means that it calls the "display()" method of the specified widget class. However, in most cases this method does the only thing: it renders the template that is specified in the getDefaultTemplate() method of the widget class. So, "rendering a widget class" will likely show the template file the method defines.
Reply With Quote
  #12  
Old 11-10-2014, 04:58 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Shop By Brand module for X-Cart 5

> is modules/QSL/ShopByBrand/brand/icon.tpl used elsewhere

This template is part of the XLite\Module\QSL\ShopByBrand\View\Product\Details\ Brand widget, so you may search for this name among template files to find other references (if any).
Reply With Quote
  #13  
Old 11-17-2014, 02:50 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Re: Shop By Brand module for X-Cart 5

Thanks for your help on this ... while working woth the brands module I think I may have come across a potential bug....

When importing products via CSV, if a new brand is specified in the data it gets added to the global class attribute for the brand, but does not get added into the brands list in the ShopByBrand module.

This then causes an error on the category and product pages because getName() is trying to work on a non-existent object.

Just telling you this for info ...

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #14  
Old 11-17-2014, 03:26 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Shop By Brand module for X-Cart 5

Thank you, Jan!

I will check into this.
Reply With Quote
  #15  
Old 12-18-2014, 06:27 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Shop By Brand module for X-Cart 5

Hello Jan,

This problem will be fixed in Shop By Brands v5.1.9.

The 5.1.9 version is planned to be released in a couple of days.

Thanks!
Reply With Quote
  #16  
Old 12-22-2014, 07:04 AM
 
PinesLocal PinesLocal is offline
 

Newbie
  
Join Date: Dec 2014
Posts: 1
 

Default Re: Shop By Brand module for X-Cart 5

Can I list all the vendor on paginated grid for a user to search through. I need something like "All Vendors"
__________________
Pines Local
Reply With Quote
  #17  
Old 12-22-2014, 07:13 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Shop By Brand module for X-Cart 5

Quote:
Originally Posted by PinesLocal
Can I list all the vendor on paginated grid for a user to search through. I need something like "All Vendors"

Is there an example of how you want it to look/behave like?
From what you describe it sounds that you need to use Shop By Brand in a combination with Product Filter module - the Product Filter module would display brands in the left sidebar so customers could tick the brand they need.
Is it what you are looking for?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #18  
Old 12-30-2014, 08:03 AM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Re: Shop By Brand module for X-Cart 5

Is there any way you can add the feature that the shipping charges will also can be base on brand in the admin area as well?

Eg. Buying brand A will be $5 shipping, and buying brand B will be $6 dollars, so if a customer buying 2 of Brand A, it will be $5. for shipping, however if the customer buy 2 of brand A and also 1 of Brand B, it will be $5 + $6 . Total shipping will be $11 ??
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote
  #19  
Old 12-30-2014, 09:04 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Shop By Brand module for X-Cart 5

Quote:
Originally Posted by rct
Is there any way you can add the feature that the shipping charges will also can be base on brand in the admin area as well?

There is no setting that would make shipping charges depend on brands.
But this can be done as a custom module.

Please contact us if you want our team develop this for you:
http://www.x-cart.com/custom-development.html
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #20  
Old 01-09-2015, 04:01 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,429
 

Default Re: Shop By Brand module for X-Cart 5

Hi rct!

I have just added a new guide about creating shipping modules: http://kb.x-cart.com/display/XDD/Shipping+modifications

If you decide to implement your shipping system yourself, this guide will be helpful for you.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modules and themes (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:40 PM.

   

 
X-Cart forums © 2001-2018