Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Correcting Path to - images/icons/


iscnitzan

Recommended Posts

Posted

I have the shop installed, and working on customizing it.

on a test 'check-out' I have made - I had a Gif not available instead of the shipping icon, and the icons in previews orders box.

 

Right clicking the image place holder shows wrong path to icon folder...

 

http://freshnup.net/shop/icons/cart.gif INSTEAD OF

http://freshnup.net/shop/images/icons/cart.gif

 

I checked in the configuration file and found this:

 

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 

which defines the path.. but it works correctly only in the Admin mod - not for the shop icon

I tried 'playing' with it - when I change define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); to define('DIR_WS_ICONS', DIR_WS_IMAGES . 'images/icons/'); - then the Admin icons don't show....

 

 

Can someone help me with this?

 

PS.

all other images show correctly.

Posted

try it like this:

define('DIR_WS_ICONS', 'images/icons/');

 

btw, your admin and catalog have seperate config files, so you can leave the admin one as it is and working, just modify the config in catalog/includes. ;)

Posted

Hi,

 

Thanks for the help!

 

Once you told me there's more then one config files - I found the the one that was wrong.

 

I was simply trying to fix it from the admin's config instead of the shop config....

 

You've made my day a bit easier, thanks again :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...