X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 5 (https://forum.x-cart.com/forumdisplay.php?f=64)
-   -   "Shop By Brand" module for X-Cart 5 (https://forum.x-cart.com/showthread.php?t=69204)

xplorer 11-10-2014 04:55 AM

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.

xplorer 11-10-2014 04:58 AM

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).

JannieB 11-17-2014 02:50 AM

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

xplorer 11-17-2014 03:26 AM

Re: Shop By Brand module for X-Cart 5
 
Thank you, Jan!

I will check into this.

xplorer 12-18-2014 06:27 AM

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!

PinesLocal 12-22-2014 07:04 AM

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"

qualiteam 12-22-2014 07:13 AM

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?

rct 12-30-2014 08:03 AM

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 ??

qualiteam 12-30-2014 09:04 AM

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

tony_sologubov 01-09-2015 04:01 AM

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.


All times are GMT -8. The time now is 05:03 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.