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)

SGS 09-04-2012 01:29 PM

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

Have a ticket in, need help asap, thanks.

Cheers

PhilJ 09-05-2012 09:11 AM

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

Have a ticket in, need help asap, thanks.

I have responded, thanks.

beetlejuice 09-14-2012 06:53 PM

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

Just bought the developer's version for multi stores and noticed the default XCart contact page is not listed anywhere even in the Pages menu in the footer.
Is this by design or a something I've inadvertently turned off? I can't see it on your demo sites either?

Thanks for a really flexible template

Cheers

beetlejuice

PhilJ 09-14-2012 06:58 PM

Re: X-Cart Ability Template v4.4.x
 
Hi, it's in the header 'my account' dropdown menu, but you can add a link anywhere with...

help.php?section=contactus&mode=update

hoosierglass 09-18-2012 05:29 AM

Re: X-Cart Ability Template v4.4.x
 
Phil - Is there a way to get the alt tags to work for the detailed images?

PhilJ 09-18-2012 07:30 AM

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

Phil - Is there a way to get the alt tags to work for the detailed images?

Can you be a bit more specific as to where you want ALT tags to work?
Had a quick glance at your site, but couldn't find any detailed images.

hoosierglass 09-18-2012 02:16 PM

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

Originally Posted by PhilJ
Can you be a bit more specific as to where you want ALT tags to work?
Had a quick glance at your site, but couldn't find any detailed images.


Here is a good example of a page that has them.

http://www.indy-pen-dance.com/Majestic-Squire-Series-Exotic-Feather-Blanks.html

PhilJ 09-19-2012 02:25 AM

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

Here is a good example of a page that has them.
If you check the source code, you'll see they already have ALT tags.

If using Firebug, right click on an image and select 'inspect element'.

If you want to add TITLE tags instead, edit skin/common_files/modules/Detailed_Product_Images/product_images.tpl

Replace...

Code:

<img src="{if $i.image_url}{$i.image_url|amp}{else}{$xcart_web_dir}/image.php?id={$i.imageid}&amp;type=D{/if}" alt="{$i.alt|escape}"{if $smarty.foreach.images.last} class="last"{/if} />

With...

Code:

<img src="{if $i.image_url}{$i.image_url|amp}{else}{$xcart_web_dir}/image.php?id={$i.imageid}&amp;type=D{/if}" alt="{$i.alt|escape}" title="{$i.alt|escape}"{if $smarty.foreach.images.last} class="last"{/if} />
Or, for a caption, you can add this code after the code above...

Code:

<p align="center">{$i.alt|escape}</p>

Etc.

hoosierglass 09-19-2012 06:08 AM

Re: X-Cart Ability Template v4.4.x
 
You know not only did you show me how to get what I wanted, you went a step beyond and added an even better example. Thank you for going that extra mile.

ibdmanhb 09-25-2012 09:35 AM

Re: X-Cart Ability Template v4.4.x
 
Hey Phil,
I am just getting the template installed on a converted 4.3.2>4.5.2 install and I have a behavioral problem. 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. The option in configs is set and I even re-installed a default template to test it. I have a ticket in as well.

Thanks

ibdmanhb 09-25-2012 11:14 AM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
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

PhilJ 09-26-2012 01:22 AM

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; }

ibdmanhb 09-26-2012 08:36 AM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
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

totaltec 09-26-2012 08:55 AM

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.

ibdmanhb 09-26-2012 12:03 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
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

PhilJ 09-26-2012 12:13 PM

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"

ibdmanhb 09-26-2012 12:22 PM

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

ibdmanhb 09-27-2012 09:15 AM

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

ibdmanhb 10-09-2012 01:26 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
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

PhilJ 10-10-2012 04:16 AM

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 */ }

ibdmanhb 10-10-2012 12:08 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
Thanks Phil,

I have 1 more issue, the logo for Pinterest does not display in the floating bookmark window.

Thank you

PhilJ 10-10-2012 12:43 PM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
Quote:

I have 1 more issue, the logo for Pinterest does not display in the floating bookmark window.

See attached fix. This adds Xing also. DEMO

ibdmanhb 10-10-2012 02:07 PM

Re: X-Cart Ability Template v4.4.x
 
Works like a Champ ! You the man....

Thanks

ibdmanhb 10-10-2012 08:31 PM

Re: X-Cart Ability Template v4.4.x
 
Phil,
I spoke too soon, the Pinterest logo shows now but when I click on it it just kicks me back to the home page, no child window opens. Any suggestions ?

Thanks

PhilJ 10-10-2012 09:55 PM

Re: X-Cart Ability Template v4.4.x
 
Not sure, works fine on the demo, maybe clear browser cache, or try a different browser?

ibdmanhb 10-11-2012 12:31 PM

Re: X-Cart Ability Template v4.4.x
 
My mistake....

It works fine on http://www.ocsurfwear.com but does not on http://www.weartattoos.com. These are both recently converted stores to 4.5.2. The only difference is OCsurf is running CDSEO and weartattoos is using just Xcart clean URL's. If you click on pinit on weartattoos it reloads the page back to home instead of loading the pinit page but the URL looks weird: http://www.weartattoos.com/#, it has a # at the end. Same behavior on IE and FF. Any ideas ????

Thanks

PhilJ 10-13-2012 05:32 AM

Re: X-Cart Ability Template v4.4.x
 
Hmm, in skin/ability/custom/addons/social_share/js/jquery.social.share.2.2.min.js

Look for...

Quote:

<a href="#" class="pinItButton" title="Pin It on Pinterest">Pin it</a>

Replace with...

Quote:

<a href="#pinit" class="pinItButton" title="Pin It on Pinterest">Pin it</a>

Seems to work fine on the demo with clean URLs enabled, with the above fix.

I have updated the zip file a few posts up also.

ibdmanhb 10-13-2012 10:11 AM

Re: X-Cart Ability Template v4.4.x
 
Hey phil,

So I made that change in the javascript and I still get the same behavior. If you mouse over the pinit button you can see in the status bar it's href= /weartattoos.com/#. I disabled the clean URL's and tried again and now it works, I get the URL of the product when I mouse over the pinit button. It's definately tied to clean URL's. I'm using the stock .htaccess from Xcart clean URL's. Something is broke.....

Thanks again

totaltec 10-14-2012 11:27 AM

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

Originally Posted by ibdmanhb
Something is broke.....

What browser and operating system are you running? It works fine for me on weartattoos runnning Win7/Chrome. I get the Pinterest login screen when I click the button.

ibdmanhb 10-14-2012 01:22 PM

Re: X-Cart Ability Template v4.4.x
 
Thanks for looking at this,

Win7 on IE9, FF and chrome all do the same thing. When clicking on pinterest it just reloads the home page with that odd URL. If I turn off clean URL's it works fine in all browsers. My other site runnibg CDSEO does not have this issue. So when you mouse over the pinit button the status line shows the products clean URL and not http://weartattoos.com/# ? I even cleared all the cookies and cache on the browsers and still get the same behavior.

Hmmm.......

totaltec 10-15-2012 04:47 AM

Re: X-Cart Ability Template v4.4.x
 
Try clearing your cache. Also try it from another computer. When I mouse over the button it simply says "javascript:void(0)" which is pretty standard.

ibdmanhb 10-15-2012 11:53 AM

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

Originally Posted by totaltec
Try clearing your cache. Also try it from another computer. When I mouse over the button it simply says "javascript:void(0)" which is pretty standard.


I get the same behavior on multiple PC's, Win7, XP, IE8 and 9, FF, chrome. If I disable the stock X cart clean URL's it works fine. I cleared the X cart cache, browser cache, checked content settings to make sure java is enabled, with all the same results. I don't get the javascript:(void(0) in the status bar, it's that weird URL. I had 2 of my kids try it on their PC's and it does the same thing. Very odd...

Thanks again

yages 10-15-2012 12:48 PM

Re: X-Cart Ability Template v4.4.x
 
I noticed that the new product page does not have the tax included in the price, how can this be fixed

PhilJ 10-16-2012 02:43 AM

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

I noticed that the new product page does not have the tax included in the price, how can this be fixed
Please post a support ticket and I'll take a look.

bullfrog 10-22-2012 09:35 PM

Re: X-Cart Ability Template v4.4.x
 
I installed a 4.5.3 in the subdirectory of a 4.3.2 store and installed Ability. Now that I've moved the store to the main directory, Ability cannot be found and I'm getting the default theme.

The theme setting is still for Ability, but the thumbnail of the theme does not show. When I use Fire Bug to check the image link, it still shows /xcart as part of the link. <img id="alt_image" src="/xcart/skin/ability/screenshot.png" alt="">

How or where do I find these settings and change them to point toward the root directory?

PhilJ 10-23-2012 04:07 AM

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

I installed a 4.5.3 in the subdirectory of a 4.3.2 store and installed Ability. Now that I've moved the store to the main directory, Ability cannot be found and I'm getting the default theme.

Not sure you've gone the right way about it... you've installed 453 on a subdir of a 432 store, installed Ability and it's not working, I'm confused.

I wish I could help, but there's not much to go on.

bullfrog 10-23-2012 11:53 AM

Re: X-Cart Ability Template v4.4.x
 
A 4.3.2 site is (now 'was') the live store in the website root directory . 4.5.3 is (now 'was') the development store in /xcart. Ability was added to the development store and was set up and modified.

When it's time to move the development store to the root directory, it's necessary to edit the config.php file, and if "clean urls" is running, the htaccess file, and in the 4.5.3 database config table there is a listing for the store directory. I edited all of these to account for the move. After removing cached and temp files, the new store springs to life. I can log into admin. I can see the new store and buy stuff. But somehow Ability did not get the message that the store was in new directory. The X-Cart default 2-column theme had stepped in even though settings were still in place for it to be Ability.

In the previous post I wanted to know what I could have done to get Ability to show up without having to redo anything.

=====the "Brute Force" fix ==================

I have test urls where I try upgrades before doing things on my real stores. I moved the contents of a test url 4.5.3 store (where Ability was installed while the site was in the root directory) to my currently upgrade project store. I copied the real 4.5.3 database to this moved site and made the needed configuration changes. This new Frankenstein site is now working as my new upgraded store 4.5.3 site. I'm having to redo some customization, but the former 4.3.2 store is now back online as 4.5.3.

Unless I know the cause of the problem I had trying to move the dev store using Ability from a subdirectory to the web root, I'll be using a test url for development sites where everything starts and stays in the web root. It may be a single setting I missed somewhere. If anyone knows, please advise.

If it matters, I used Ability 1.3. I did not not know until I checked online that 1.4 was available.

beetlejuice 10-30-2012 12:59 AM

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

Love this template, but have one issue on a site that's not live yet, and that is the cart doesn't auto update, you have to refresh the page each time. Is this by design?

Thanks

Greg

PhilJ 10-30-2012 07:09 AM

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

Love this template, but have one issue on a site that's not live yet, and that is the cart doesn't auto update, you have to refresh the page each time. Is this by design?

Hi Greg, no it should be auto updating itself. You might have missed out one of the install steps relating to the minicart. Check (n) and (o) edits are correct.

beetlejuice 10-30-2012 07:06 PM

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

thanks mate, I overlooked (o) during install :oops:


All times are GMT -8. The time now is 06:59 PM.

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