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

Auto-fill category images

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-08-2014, 09:47 AM
 
dtrufan dtrufan is offline
 

Newbie
  
Join Date: Dec 2014
Posts: 6
 

Default Auto-fill category images

Is there any way to automatically fill a category image with an image from one of the items in that category? Even if it has to be the first item?

I have hundreds of categories to do, so it would save me a ton of time.

Thanks.
__________________
v5.1.8
Reply With Quote
  #2  
Old 12-09-2014, 05:12 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

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

Default Re: Auto-fill category images

Did you try to import images? If it is not a solution for you, you can write a simple mod that will do the trick.

If you are ready to go with a mod, just create an empty module according to the article here:
http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module
__________________
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
  #3  
Old 08-08-2018, 07:31 PM
 
voidopolis voidopolis is offline
 

Newbie
  
Join Date: Jun 2018
Posts: 8
 

Default Re: Auto-fill category images

Sorry to bump such an old thread - but is there something available to do this? or is someone able to post some code for me to do this? I'm looking for the same solution.
__________________
X-Cart Business 5.3.5.4
make/model
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (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 09:08 AM.

   

 
X-Cart forums © 2001-2020