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 > Third Party Add-Ons for X-Cart 5
 
Thread Tools Search this Thread
  #1  
Old 05-19-2014, 11:49 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

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

Arrow "Shop By Brand" module for X-Cart 5

Hello!

I'm happy to announce one more module for X-Cart 5 - Shop By Brand.

http://www.x-cart.com/sites/default/files/addons/image/Shop_By_Brand_184px.png

In a few words this module behaves like the "manufacturers" feature in X-Cart 4 with the one major change: instead of a custom product field this module uses a global product attribute to store the brand name.

The use of a product attribute:

a) allows you to enable the "brands" feature after you added the "brand" product attribute and defined brands for your products (the module will import existing brands)

b) makes it possible to filter by brand in the layered navigation offered by Product Filter module

Feel free to ask me should you have any questions or suggestions for the module.

Thanks!
Reply With Quote

The following 4 users thank xplorer for this useful post:
ADDISON (05-21-2014), RichieRich (05-21-2014), tony_sologubov (05-20-2014), totaltec (05-19-2014)
  #2  
Old 05-21-2014, 01:45 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

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

It looks good, does the brand logo appear on the product page also?
__________________
Richard


Ultimate 5.4 testing
Reply With Quote

The following user thanks RichieRich for this useful post:
xplorer (05-21-2014)
  #3  
Old 05-21-2014, 08:44 PM
  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

Quote:
Originally Posted by RichieRich
It looks good, does the brand logo appear on the product page also?

Thanks! Yes, the logo appears above the price on both the product page and the quick-look popup.
Reply With Quote
  #4  
Old 08-07-2014, 12:56 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 new 5.1.3 version of Shop By Brand module is available for downloading from X-Cart Marketplace!

Now the module:
- offers the ability to manually sort brands and choose the order in which brands should be shown in the storefront (order by name / by the number of products / as defined by the store owner)
- comes with the built-in Russian translation
- includes a few bug-fixes
Reply With Quote
  #5  
Old 11-07-2014, 01:52 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

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

I am using this module - which is great, but I have one very simple thing I am trying to do and can't work out how to do it!

I want to extract just the brand name to display on the product page. The widget returns the band name as a heading with a link .... how do I just get the brand name for the current product?

Thanks,

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #6  
Old 11-07-2014, 04:29 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,

Thank you for your kind words!

I will be glad to help you.

Please could you explain what you do and what you want to achieve? Have you added a new template or widget class that displays the brand? Or do you replace the template via a custom skin?

Thanks!
Reply With Quote
  #7  
Old 11-07-2014, 05:56 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

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

Hi,
I am using a custom skin module ... I have an amended version of the prodyct/details/parts/common.product.title.tpl with this in it:

Code:
<widget class="XLite\Module\QSL\ShopByBrand\View\Product\Details\Brand" product="{product}" /> <h1 class="fn title">{product.name:h}</h1>

However this pulls in the brand name as this sort of thing

Code:
<h1><a href="?target=brand&brand_id=18">Gubi</a></h1>


What I want is just the name of the brand without the '<h1>' tag and without the link.

Ideally I need is as a widget as I need to use it in a few places on the product page.

It's such a simple thing, but I can't work out how to do it!

Thanks,

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #8  
Old 11-07-2014, 08:37 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

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

I also have another question about this module and would appreciate some help ..
... I have posted it in the Xcart5 forum here

http://forum.x-cart.com/showthread.php?p=379554

I would really appreciate some help ..... working with this version of x-cart is proving to be very frustrating ...
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #9  
Old 11-10-2014, 03:46 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

Hi Jan,

Thanks for the clarifications!

Quote:
Originally Posted by JannieB
I have an amended version of the prodyct/details/parts/common.product.title.tpl

The "common.product.title.tpl" template renders the product name, not the product's brand.

The "product/details/parts/brand.tpl" is the template that injects the brand icon to the product page (but not renders it!).


Quote:
Originally Posted by JannieB
Code:
<h1 class="fn title">{product.name:h}</h1>

The same goes there: "product.name" is the product name, not the brand name


Quote:
Originally Posted by JannieB
Code:
<h1><a href="?target=brand&brand_id=18">Gubi</a></h1>

The link tag is added to the brand in this template file:
modules/QSL/ShopByBrand/brand/icon.tpl

So, if you want to remove the link, you should "override" this template file in your custom skin, not the one that you mentioned above.


Quote:
Originally Posted by JannieB
working with this version of x-cart is proving to be very frustrating

This is just the first impression that will go away once you get a bit more familiar with the code of X-Cart 5. Just don't give up!
Reply With Quote
  #10  
Old 11-10-2014, 04:48 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

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

Thanks that's a lot clearer, but is

modules/QSL/ShopByBrand/brand/icon.tpl

used elsewhere (ie where I might need the link?), such as on the all_brands page, or is that a different template?
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Third Party Add-Ons for X-Cart 5



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:10 PM.

   

 
X-Cart forums © 2001-2020