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

Manufacturer Categories mod! Free!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #61  
Old 08-08-2011, 05:45 AM
  thatcrazyartguy's Avatar 
thatcrazyartguy thatcrazyartguy is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 34
 

Default Re: Manufacturer Categories mod! Free!

This is a great mod. One issue I'm having is the load time. 32 seconds for a manufacturer page to load now. I have about 30,000 products loaded, so I could see how this would take awhile to query the database.

I realize that Smarty has built in caching capabilities, however I must be inserting them incorrectly.

This is the code I believe would be used, but I'm not sure where to enter it:

Code:
<?php require('Smarty.class.php'); $smarty = new Smarty; $smarty->setCaching(Smarty::CACHING_LIFETIME_CURRENT); $my_cache_id = $_GET['manufacturerid']; $smarty->display('manufacturer_categories.tpl', $my_cache_id); ?>
__________________
X-Cart version 4.3.2
Reply With Quote
  #62  
Old 08-15-2011, 07:03 AM
  thatcrazyartguy's Avatar 
thatcrazyartguy thatcrazyartguy is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 34
 

Default Re: Manufacturer Categories mod! Free!

Can anyone help with caching of manufacturer categories? 32 seconds to load seems a bit much. Am I the only one seeing this kind of performance?

Has anyone successfully included the manufacturer products? I see many others were trying.
__________________
X-Cart version 4.3.2
Reply With Quote
  #63  
Old 08-24-2011, 11:37 AM
  thatcrazyartguy's Avatar 
thatcrazyartguy thatcrazyartguy is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 34
 

Default Re: Manufacturer Categories mod! Free!

Need someone to pull a Jesus-move and raise this thread from the dead for me. Should it be taking 30 seconds to load a page while this mod is in place?
__________________
X-Cart version 4.3.2
Reply With Quote
  #64  
Old 09-28-2011, 12:42 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default Re: Manufacturer Categories mod! Free!

Anyone tried this on 4.4.4? I'm only getting "There are no available products under this manufacturer." Unless I've done something wrong
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #65  
Old 10-01-2011, 10:50 AM
 
Shooter Shooter is offline
 

Advanced Member
  
Join Date: Dec 2005
Location: Hannibal, NY
Posts: 85
 

Default Re: Manufacturer Categories mod! Free!

Quote:
Originally Posted by groovico
OOOooo nice mod! I just had a client complaining about the way x-cart lists everything by the manufacturer in one big mixed up list, the option for it breaking up in categories is brilliant nice one bcse!


Yeah, the best part is that is it free and "Works" .. vs registered and non functional or w/o support. (wink)
__________________
v4,1.11 Gold
Affiliate
AOM
FancyCategories
RMA
SpecialOffers
Sales-n-Stats Live
Price Match
Checkout Specials
Testimonials
Recently Added-Shop points
Magnifier
Gift Registry
CDSEO
SnS <-- no longer supported -just ripped off for registration
Price Match
Product Manager
Tag Cloud
Glossary
Marketing Manager
On Sale
Customer Reward Points
Customer Referral Points.. and others

Shooter

Visit us at ShootersBilliards.com for all of your pool cue and billiards needs.
Reply With Quote
  #66  
Old 10-03-2011, 05:27 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: Manufacturer Categories mod! Free!

Quote:
Originally Posted by KCAutosound
Anyone tried this on 4.4.4? I'm only getting "There are no available products under this manufacturer." Unless I've done something wrong

If you can't figure it out, drop us an email to support and let us know. X-cart changed a good bit between 4.3.x and 4.4.x (particularly with categories), so it may need to be updated. Just let the support people know I said we'd update it for you.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #67  
Old 10-04-2011, 11:30 AM
 
wyzerus wyzerus is offline
 

Newbie
  
Join Date: Jul 2011
Posts: 3
 

Wink Re: Manufacturer Categories mod! Free!

Quote:
Originally Posted by BCSE
If you can't figure it out, drop us an email to support and let us know. X-cart changed a good bit between 4.3.x and 4.4.x (particularly with categories), so it may need to be updated. Just let the support people know I said we'd update it for you.

Thanks,

Carrie

Hi,Carrie

I need a little help with this great free mod.

I think its works fine i just want to remove the double links i get for both cat/sub-cat

I just want to see the categories and not the manufacturers name above every different cat. I hope this makes sense.. you can view the site im working on here
https://www.spares4mowers.co.uk/Honda/
For every category i get Honda above it. I think its probably real easy to lose it but im a x-cart virgin and need some advice.

Thank you in advance
Elton
__________________
www.spares4mowers.co.uk
Version 4.4.3
Reply With Quote
  #68  
Old 10-06-2011, 08:59 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: Manufacturer Categories mod! Free!

Quote:
Originally Posted by wyzerus
Hi,Carrie

I need a little help with this great free mod.

I think its works fine i just want to remove the double links i get for both cat/sub-cat

I just want to see the categories and not the manufacturers name above every different cat. I hope this makes sense.. you can view the site im working on here
https://www.spares4mowers.co.uk/Honda/
For every category i get Honda above it. I think its probably real easy to lose it but im a x-cart virgin and need some advice.

Thank you in advance
Elton

You'd want to edit the template for the manufacturer mod to not show it. The problem is it uses the same template to display this page:
https://www.spares4mowers.co.uk/Honda/
as well as this page:
https://www.spares4mowers.co.uk/Honda/?catid=249

So some logic would need to be in there to display the image above the one and not the other as I'm assuming you'd want the image on the first page.

You could probably do:
{if $smarty.get.catid eq ''}
Show image
{/if}

I hope that helps.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #69  
Old 10-06-2011, 10:33 AM
 
wyzerus wyzerus is offline
 

Newbie
  
Join Date: Jul 2011
Posts: 3
 

Default Re: Manufacturer Categories mod! Free!

Quote:
Originally Posted by BCSE
You'd want to edit the template for the manufacturer mod to not show it. The problem is it uses the same template to display this page:
https://www.spares4mowers.co.uk/Honda/
as well as this page:
https://www.spares4mowers.co.uk/Honda/?catid=249

So some logic would need to be in there to display the image above the one and not the other as I'm assuming you'd want the image on the first page.

You could probably do:
{if $smarty.get.catid eq ''}
Show image
{/if}

I hope that helps.

Thanks,

Carrie

Hi, Carrie
Im not sure i explained myself properly, Sorry.

When i click on a manufacturer i get the list of categories as seen on my site https://www.spares4mowers.co.uk/Honda/

I want to lose the links in red

e.g.
Narrow your search
Categories to choose from
Honda, Blades, Honda, Filters,

is there an easy way to do this?

Regards
Elton
__________________
www.spares4mowers.co.uk
Version 4.4.3
Reply With Quote
  #70  
Old 10-07-2011, 09:26 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: Manufacturer Categories mod! Free!

Hi Elton,

I see what you mean now. I think there would have to be some custom code done to remove those. Because they are actual categories the products live in, so the code sees those categories and displays them. It doesn't know they look redundant because they are the same name as the manufacturer.

If you'd like to drop us an email to support with what you'd like it to do instead we could quote customizing that for you.

Thanks,

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


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 not 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 11:07 PM.

   

 
X-Cart forums © 2001-2020