X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   SKU is hidden X-Cart Business 5.0.13 Admin (https://forum.x-cart.com/showthread.php?t=69024)

Mona Not 04-14-2014 10:47 AM

SKU is hidden X-Cart Business 5.0.13 Admin
 
When viewing the product list
http://mystore.com/admin.php?target=product_list part of the SKU and the Product Name is hidden.

I've tried to change the font size to a smaller font in the custom CSS, but nothing. I've tried refreshing the cache, as it appears as though the CSS is cached, still nothing.

Anybody have an idea where I can fix this? It makes it difficult to maintain products when only a part of the SKU or product name is visible.

Thanks.

Mark N 04-14-2014 12:01 PM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Maybe not the best way to fix it, but here is how I did it:

- Copy style.css from skins\admin\en\items_list\model\table to skins\custom_skin\admin\en\items_list\model\table (you'll have to create the items_list\model\table directory structure in the custom skin

- Modify that CSS to use smaller text, I think what you want to change is .items-list-table table.list tbody.lines td .plain-value span

- Make sure the "Custom Skins" module is enabled

- If changes don't show up initially, rebuild the cache - subsequent changes to the CSS shouldn't require a rebuild I don't think.

Hope this helps,

-Mark

Mona Not 04-14-2014 04:18 PM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Quote:

Originally Posted by Mark N
Maybe not the best way to fix it, but here is how I did it:

- Copy style.css from skins\admin\en\items_list\model\table to skins\custom_skin\admin\en\items_list\model\table (you'll have to create the items_list\model\table directory structure in the custom skin

- Modify that CSS to use smaller text, I think what you want to change is .items-list-table table.list tbody.lines td .plain-value span

- Make sure the "Custom Skins" module is enabled

- If changes don't show up initially, rebuild the cache - subsequent changes to the CSS shouldn't require a rebuild I don't think.

Hope this helps,

-Mark


Thanks Mark, not quite, but you triggered my memory...

Problem solved. Go to System settings > Look & Feel > select "Performance" tab, uncheck "Aggregate CSS files" click "Clear aggregation cache"

Open up your favorite FTP and go to /var/www/html/skins/admin/en/items_list/model/table/product/
Open up style.css in your editor and change the part below to 130px

Code:

.items-list.products table.list td.sku.no-wrap .plain-value {
  width: 130px;


I think X-Cart had it at 92px I don't remember, I didn't take note.

Anyway, it makes the viewable area for the SKU wider so you can actually read the whole SKU.

I think XC should add some more CSS to their carts, there isn't enough of them. ;)

Mark N 04-15-2014 06:05 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Yes, it is possible to modify that file, however when you upgrade the store those changes will be wiped out - by moving the mods into a module, you protect against that happening.

Mona Not 04-16-2014 05:23 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Thanks Mark, I see what you are saying. I was more focused on sorting out the SKUs which I couldn't read.

By using the custom CSS, the custom CSS will ultimately override the the original CSS when updates are done. Thereby retaining the custom changes.
The trick is still figuring out what CSS code controls what you want to change. Sometimes that's a project in itself.

Anyway, I'm taking your advice and adding it to the custom CSS unless I already did? I'll have to check.

qualiteam 04-16-2014 11:18 PM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Hi!

Mark is right - you should not edit core files because the next upgrade will replace changed files with unmodified ones from the new XC5 version.

Mona Not 03-24-2015 08:04 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Quote:

Originally Posted by qualiteam
Hi!

Mark is right - you should not edit core files because the next upgrade will replace changed files with unmodified ones from the new XC5 version.


That would normally work and I would agree except that this is for the administration side which appears to be unaffected by the custom css which controls the Customer side.

Bottom line... keep a copy of your custom css for the administration side so you can reinstall it after you do an update.

tony_sologubov 04-03-2015 05:21 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
Hello @Mona Not, could you please send me a snapshot of how your SKUs were overlapped? I feel, maybe this is a bug which should be fixed.

Tony

Brian Watts 04-03-2015 06:18 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
1 Attachment(s)
Tony,
I also have the same problem

Mona Not 04-06-2015 11:08 AM

Re: SKU is hidden X-Cart Business 5.0.13 Admin
 
1 Attachment(s)
Quote:

Originally Posted by tony_sologubov
Hello @Mona Not, could you please send me a snapshot of how your SKUs were overlapped? I feel, maybe this is a bug which should be fixed.

Tony


Hi Tony,

Screenshot is similar to what Brian Watts has posted.
You can not see the last few digits of the sku.

It's a simple fix, I'm going to change the admin css in my store when I have some time. We don't need the fade image, although it does look cool.

Peter


All times are GMT -8. The time now is 11:29 AM.

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