X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Ability Template v4.4.x (https://forum.x-cart.com/showthread.php?t=61776)

PhilJ 03-23-2012 08:00 AM

Re: X-Cart Ability Template v4.4.x
 
David, Firebug is a great tool for finding out CSS elements - www.getfirebug.com

Try skin/common_files/modules/Detailed_Product_Images/main.css

Quote:

/* Product details line */
div.dpimages-popup-link {
margin-top: 33px;
text-align: center;
vertical-align: middle;
}

PhilJ 03-24-2012 06:29 AM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
I was asked how to add a new product field / tab, so I have attached simple instructions here.

File updated 28th March 2012 to explain how to add a 'trusted' variable.

PhilJ 03-24-2012 01:20 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
Here is a fix for the vertical 2 level sliding menu. Just replace...

skin/ability/custom/addons/menus/vert/sliding.tpl

With the attached.

It enables you to mix 'categories with subcategories' and 'single categories', without breaking the menu.

Previously each category required at least one subcategory.

Paul H . 03-25-2012 12:31 PM

Re: X-Cart Ability Template v4.4.x
 
Quote:

Originally Posted by PhilJ
Here is a fix for the vertical 2 level sliding menu. Just replace...

skin/ability/custom/addons/menus/vert/sliding.tpl

With the attached.

It enables you to mix 'categories with subcategories' and 'single categories', without breaking the menu.

Previously each category required at least one subcategory.


Phil does this allow you to click direct on the main category in the list?
The only way I could get the sliding menu to work is by ticking the disable parent cats in the config

PhilJ 03-25-2012 12:36 PM

Re: X-Cart Ability Template v4.4.x
 
Try it... it'll work

Paul H 03-25-2012 02:29 PM

Re: X-Cart Ability Template v4.4.x
 
Phil
Tried it and no change.
If I tick "Vertical sliding menu - disable parent category links" the plus/minus signs appear and everything works fine -"one category only open at once" works fine. hide controls takes out the "Show All Hide All" option at the bottom but the plus and minus stuff is still there.
I'd like to have direct access to parent cats if possible otherwise I have to go to a subcat and nav back using breadcrumbs to the parent cat
I can use the Xcart menu but it slides over my static header bar whereas your menus slide under-got any pointers on fixing that ?

David-Allan 03-26-2012 12:42 AM

Re: X-Cart Ability Template v4.4.x
 
Quote:

Originally Posted by PhilJ
David, Firebug is a great tool for finding out CSS elements - www.getfirebug.com

Try skin/common_files/modules/Detailed_Product_Images/main.css


thanks Phil, I'll have a look at that. I actually prefer the built in CSS tool in chrome, cant seem to get used to firebug which I do have installed on firefox.

David-Allan 03-27-2012 07:49 AM

Re: X-Cart Ability Template v4.4.x
 
Hi Guys,

I am trying to customise the ability theme a little but my css skills arent great. I was wondering if anyone would be able to give me some pointers.

Here is what I am trying to do;

1 - I am trying to centre the sub categories boxes on every page. see here so that they are aligned in the middle but i'm not having much luck. I tried adding <center> before the span tag in subcategories_t.tpl but this didnt work. I'm sure its easy when you know how but i dont ;)

2 - I would like to add the product code below every product price in the product list. I managed to get it to work on the tabs on the front page using this code "Product Code : <p><b> {$product.productcode}</b></p>" but not on any of the other standard product lists. Not really sure where the code should go to be honest.

I tried using firebug to find what I was looking for but didnt have much luck

Any tips would be greatly appreciated.

thanks in advance from a CSS noob :)

PhilJ 03-27-2012 10:10 AM

Re: X-Cart Ability Template v4.4.x
 
Hi David,

1) You can try wrapping code around the subcats like this...

Quote:

<div style="width:550px;margin:0 auto">
...
</div>

I guessed the width above, you'll probably have to tweak the width value.

2) Try general settings > appearance

"Display product code (SKU) in the products list"

bf2017 03-27-2012 05:17 PM

Re: X-Cart Ability Template v4.4.x
 
With lightbox on the product page, I would like to display the thumbnails vertically (centered) to the left and the main image to the right of the thumbnails.

Anybody know the code for this, and where to insert it?


All times are GMT -8. The time now is 01:25 PM.

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