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

X-Cart Ability Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #411  
Old 09-25-2012, 11:14 AM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Hey Phil,
Love the new template, very tunable.... I am having some alignment issues and can't find the controlling CSS with firebug. I attached a screen shot of the sub-cat that shows the quik view button overflowing the short description.

Thanks
Attached Images
File Type: jpg ability1.jpg (49.6 KB, 21 views)
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #412  
Old 09-26-2012, 01:22 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

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

Quote:
On a product that has variants when you click add to cart, it normally redirects you to the product details page so you can select the options. This does not work in the new template.

Actually it does work on the template, just perhaps not on the home featured items, but you can use code like this...

Eg. skin/ability/customer/main/featured.tpl

Replace..

Quote:
<p><a class="add_link" href="cart.php?mode=add&amp;productid={$product.pr oductid}&amp;amount=1">{$lng.lbl_add_to_cart}</a></p>

With...

Quote:
{if !$product.variantid}
<p><a class="add_link" href="cart.php?mode=add&amp;productid={$product.pr oductid}&amp;amount=1">{$lng.lbl_add_to_cart}</a></p>
{else}
<p><a class="add_link" href="product.php&amp;productid={$product.producti d}">View Options</a></p>
{/if}

Quote:
I am having some alignment issues and can't find the controlling CSS with firebug

Just add some padding-top to the product title (grid mode)...

skin/ability/custom/css/common.css

Replace...

Quote:
ul.grid_view li .product_block h2 { width: 100%; height: 50px; margin: 0; padding: 0 0 10px 0; }

With...
Quote:
ul.grid_view li .product_block h2 { width: 100%; height: 50px; margin: 0; padding: 20px 0 10px 0; }
__________________
xcartmods.co.uk
Reply With Quote
  #413  
Old 09-26-2012, 08:36 AM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Quote:
Originally Posted by PhilJ
Actually it does work on the template, just perhaps not on the home featured items, but you can use code like this...

Eg. skin/ability/customer/main/featured.tpl

Replace..


With...



Just add some padding-top to the product title (grid mode)...

skin/ability/custom/css/common.css

Replace...


With...

There are actually 2 instances of this line in featured.tpl, when I replace the first one the "add to cart" changes to "view options" but it still bypasses the product detail page. If I replace the 2nd one with that block of code I get a 404 page error.

I have one more display issue, the detailed images TB's over flow the buttons. I tried resizing the TB's and rebuilding the image cache but nothing changed.

Thanks
Attached Images
File Type: jpg ability2.jpg (52.3 KB, 11 views)
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #414  
Old 09-26-2012, 08:55 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

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

Quote:
Originally Posted by ibdmanhb
...I have one more display issue, the detailed images TB's over flow the buttons.
Quick explanation of how to fix this: http://youtu.be/Um025zXKLnc
Hope it helps.

BTW: Your product line and site look really cool. Nice work.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following 2 users thank totaltec for this useful post:
ibdmanhb (09-26-2012), PhilJ (09-26-2012)
  #415  
Old 09-26-2012, 12:03 PM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Thanks for that video.

I haved used Firebug just enough to be dangerous and have some knowledge of CSS. My problem seems to be interpreting what it's telling me. That container shows a CSS entry called .dpimages-icons-box located in common.css. I can't for the life of me find it there. using grep on that file yields nothing. I'm confused....

Any suggestions for CSS 101 ???

Thanks
Attached Images
File Type: jpg ability3.jpg (257.6 KB, 8 views)
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #416  
Old 09-26-2012, 12:13 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

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

To adjust the size of the detailed image thumbs, in admin go to Modules > Detailed Product Images

"Maximum width of a detailed product image thumbnail"
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
ibdmanhb (09-27-2012)
  #417  
Old 09-26-2012, 12:22 PM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Quote:
Originally Posted by PhilJ
To adjust the size of the detailed image thumbs, in admin go to Modules > Detailed Product Images

"Maximum width of a detailed product image thumbnail"

Thanks Phil,

I tried that route, the problem is the thumbs are too small in grid view and leave a lot of white space. I would rather adjust the container if that's a plausible option. Where can I find that entry in the CSS ?

Did you have a chance too look at the add to cart problem from the prior post, your solution did not fix the problem.

Thanks again
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #418  
Old 09-27-2012, 09:15 AM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Hey Phil
I know you are a busy guy but I was wondering if you ever resolved the issue with the tool tip and image pop ups not working on the new and random products tab on the homepage ? It seems to work everywhere else.....

Thanks
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #419  
Old 10-09-2012, 01:26 PM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

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

Hi Phil,

I am trying to get my alignment set in Row view on the ability template and I can't find the .CSS involved. Using firebug it tells me it's from .overflow but the css is from a var/cache/xxxxx.css file. I need to push all the text off to the right (left-margin of 40px looks nice) so the image does not bleed over. Resizing the images did not work. can you help me identify where the css is coming from, I know how to fix it ??

Thanks
Attached Images
File Type: jpg ability4.jpg (21.5 KB, 10 views)
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #420  
Old 10-10-2012, 04:16 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

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

skin/ability/custom/css/common.css

Look for...

Quote:
ul.row_view li .product_block .thumbcol { float: left; text-align: center; width: 135px; /* Image Column Width */ }
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 10:24 PM.

   

 
X-Cart forums © 2001-2020