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)

CenturyPerf 07-10-2012 05:35 PM

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

I submitted a support ticket that has been sitting unanswered for a while. Please take a look at it and advise.

PhilJ 07-11-2012 02:11 AM

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

A little off track here but when the new template is released next month will the cookie popup on V4.5.1 still show, or is this something we'll have to fit into your coding.........Thanks Dean

Yes it will, for anyone else wanting that module, it's easy to integrate... (v4.5.1 users)

skin/ability/customer/home.tpl

Just add this code after the opening <body> tag...

Code:

{if $active_modules.EU_Cookie_Law}
{include file="modules/EU_Cookie_Law/info_panel.tpl"}
{/if}


PhilJ 07-11-2012 02:15 AM

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

I submitted a support ticket that has been sitting unanswered for a while. Please take a look at it and advise.
Sam, I have replied.

klinetim 07-11-2012 03:48 AM

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

Originally Posted by PhilJ
Yes it will, for anyone else wanting that module, it's easy to integrate...

skin/ability/customer/home.tpl

Just add this code after the opening <body> tag...

Code:

{if $active_modules.EU_Cookie_Law}
{include file="modules/EU_Cookie_Law/info_panel.tpl"}
{/if}



Hi - I don't have that module in my ability distribution, and I'm still running a 4.4.5 x-cart store - is it in an update that I can download, or do I need to upgrade to 4.5 first (sigh). Thanks!

masada3336 07-11-2012 07:03 AM

Re: X-Cart Ability Template v4.4.x
 
Hi Phil,
I submitted a help ticket for your Watermark Images mod a while ago but have not gotten a reply. I realize you're busy, please advise...

David-Allan 07-12-2012 06:26 AM

Re: X-Cart Ability Template v4.4.x
 
Hi Phil,
I posted a new post earlier today re an issue I was having with MySQL after installing 4.5.1 but I belive this issue may be related to the ability theme. What do you think?

Here is what I get via email

Code:

SQL query  : SELECT pr.productid, pr.product, mem.membershipid FROM xcart_products_categories AS cat, xcart_products AS pr LEFT JOIN xcart_product_memberships AS mem ON mem.productid = pr.productid WHERE cat.categoryid = '5' AND pr.productid = cat.productid AND pr.forsale='Y' ORDER BY pr.product
    Error code  : 1054
    Description : Unknown column 'pr.product' in 'field list'
Request URI: /product.php?productid=9
Backtrace:
/var/www/vhosts/robertsonpackaging.com/subdomains/dev.robertsonpackaging.com/include/func/func.db.php:308
/var/www/vhosts/robertsonpackaging.com/subdomains/dev.robertsonpackaging.com/include/func/func.db.php:208
/var/www/vhosts/robertsonpackaging.com/subdomains/dev.robertsonpackaging.com/include/func/func.db.php:488
/var/www/vhosts/robertsonpackaging.com/subdomains/dev.robertsonpackaging.com/ability_next_prev.php:3
/var/www/vhosts/robertsonpackaging.com/subdomains/dev.robertsonpackaging.com/product.php:339


PhilJ 07-12-2012 06:28 AM

Re: X-Cart Ability Template v4.4.x
 
Turn off the next/prev addon in Ability settings, it's not yet v4.5.1 compatible.

David-Allan 07-12-2012 06:46 AM

Re: X-Cart Ability Template v4.4.x
 
Thanks Phil i'll do that

masada3336 07-12-2012 08:23 AM

Re: X-Cart Ability Template v4.4.x
 
Phil - is anyone monitoring your help desk?

PhilJ 07-12-2012 04:19 PM

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

Phil - is anyone monitoring your help desk?

Yes, absolutely, I'm responding to many tickets all the time every day. If your issue is outstanding, just post another ticket, or PM me and I'll respond as soon as I possibly can. Apologies for anyone waiting.

With regards to people requesting 'detailed image popup' and 'quick view' throughout the store, it's not a quick job to do, might not be even possible, but it's in my list of jobs.

I'm also working hard to get the new 'Adapt' template ready, it's very time consuming, but for those waiting, I'm confident to launch this month.

SGS 07-12-2012 08:10 PM

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

Originally Posted by SGS
With regards to people requesting 'detailed image popup' and 'quick view' throughout the store, it's not a quick job to do, might not be even possible, but it's in my list of jobs.


Phil, concerning the 'Detailed Image PopUp", with Ability v1.52 for the 4.4.5 cart. All my products displayed the popup window but none worked in the "Featured Products" display section.

Now with Ability v1.2 for 4.5.1 cart, only the "Featured Products" section, display the "PopUps", no where else.

All I am asking is, was this changed on purpose? Can it be fixed to revert back to all the products and not just the Featured Products section. Like in version 1.52?

And yes I do have a ticket open with you, two in fact. I do not think opening another ticket will help. Good thing emails have no weight, hate to have you buried under all those electrons! :)

Looking forward to seeing the new product.

jcorneli 07-14-2012 09:13 AM

Re: X-Cart Ability Template v4.4.x
 
Anybody?

PhilJ 07-16-2012 04:09 AM

Re: X-Cart Ability Template v4.4.x
 
SGS, I see the issue you mention, no it was not changed on purpose. I will report back ASAP with a fix.

SGS 07-16-2012 09:25 AM

Re: X-Cart Ability Template v4.4.x
 
Thanks Phil, I know your burried deep in the new project "Adapt", so here is a recap of known issues with Ability and X-cart 4.5.1. (If anyone else has anything to add please do, I am sure Phil will read this post later).

1. The Next and Previous function no longer works. Recommend turning off till Phil can update.

2. Detailed Image on roll over. When a product has two or more images. Only works in "Featured Product" on home page, no other locations work. On Phil's radar to correct.

Hope this help those who have Ability 1.2 for the 4.5.1 cart only.

Cheers

PhilJ 07-18-2012 06:16 AM

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

1. The Next and Previous function no longer works. Recommend turning off till Phil can update.


In ability_next_prev.php

Replace...

Code:

$mem_list = func_query("SELECT pr.productid, pr.product, mem.membershipid FROM $sql_tbl[products_categories] AS cat, $sql_tbl[products] AS pr LEFT JOIN $sql_tbl[product_memberships] AS mem ON mem.productid = pr.productid WHERE cat.categoryid = '$product_info[categoryid]' AND pr.productid = cat.productid AND pr.forsale='Y' ORDER BY pr.product");

With...

Code:

$mem_list = func_query("SELECT pr.productid, pr.product, mem.membershipid FROM $sql_tbl[products_categories] AS cat, $sql_tbl[products_lng_en] AS pr LEFT JOIN $sql_tbl[product_memberships] AS mem ON mem.productid = pr.productid WHERE cat.categoryid = '$product_info[categoryid]' AND pr.productid = cat.productid ORDER BY pr.product");


Or just replace the entire file with the attached.

Quote:

2. Detailed Image on roll over. When a product has two or more images. Only works in "Featured Product" on home page, no other locations work. On Phil's radar to correct.

Fix for detailed image rollover...

skin/ability/custom/addons/addons_common.tpl

Replace...

Code:

{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search")}

With...

Code:

{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search" || $main eq "catalog")}

masada3336 07-18-2012 06:22 AM

Re: X-Cart Ability Template v4.4.x
 
Hello Phil??? I've tried on two thread, two help tickets yet NO RESPONSE re watermarked images? You used to be really responsive, but it seems that you've completely given up on after sales support for your customers now...I'm sorry to say I won't be buying from you in the future.

PhilJ 07-18-2012 06:51 AM

Re: X-Cart Ability Template v4.4.x
 
I have replied your ticket, please do not double post in unrelated threads.

JacksmithxD 07-18-2012 07:18 AM

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

Originally Posted by masada3336
Hello Phil??? I've tried on two thread, two help tickets yet NO RESPONSE re watermarked images? You used to be really responsive, but it seems that you've completely given up on after sales support for your customers now...I'm sorry to say I won't be buying from you in the future.


You know Phil is only Human right? Nearly everyone on this forum knows how good Phil is and how good his modules are, and the support he provides is still excellent FYI.

Check this thread for instance... he designed a template for x-cart which is epic and to be honest he really doesn't have to help everyone on here who have a little issue because they're customising there site or not reading the instructions properly, but guess what? he does help them!

I can tell you one thing for certain, I wouldn't help nearly as many people as Phil has done. I've saw hundreds of sites where you purchase mods or templates and you just get the download with instructions and you're left to do the rest by your self and if you can't well that's tough shi*.

I just think there was no need for you to add 'I won't be buying from you in the future.' rant over.

SGS 07-18-2012 07:37 AM

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

The Fix for detailed image rollover woks!!!!

skin/ability/custom/addons/addons_common.tpl

thanks again
sg

PhilJ 07-18-2012 07:40 AM

Re: X-Cart Ability Template v4.4.x
 
Strange, here's it is working on the demo (red mini cooper car)

Can you PM me your store URL?

SGS 07-18-2012 07:56 AM

Re: X-Cart Ability Template v4.4.x
 
Phil, My bad.... was working in the wrong sand box....

Have installed both next & previous and rollover fixes... doing the happy dance... its great to see these working again.

Many thanks Phil

David-Allan 07-19-2012 07:33 AM

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

I noticed that it only shows the roll over image if there is more than two images and the roll over shows the 2nd image instead of the first image. Is that correct?

PhilJ 07-19-2012 07:42 AM

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

I noticed that it only shows the roll over image if there is more than two images and the roll over shows the 2nd image instead of the first image. Is that correct?

No, there only needs to be one detailed image, by default if there's more than one, it displays the first available.

However, if you want to elect a specific detailed image for the popup, then in install steps c / e / g

Replace...

$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE id=".$product["productid"]);

With...

$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE orderby=0 AND id=".$product["productid"]);

Then in your detailed images, for the particular image you want to use, set the orderby field to zero.

SGS 07-19-2012 11:12 PM

Re: X-Cart Ability Template v4.4.x
 
2 Attachment(s)
Phil, can you help me solve a small mystery. The small magnify icon and text showing Detailed Images and Count are not aligned correctly in the x-cart 4.5.1 version? With the 4.4.5 version it looked perfect. (See attached images)

I have tried to just move it over to the left but that did not work.

Thanks for having a look.

sg

a1deano 07-20-2012 10:38 AM

Re: X-Cart Ability Template v4.4.x
 
Can't wait to see the new adapt just building a newer store using v4.5.1 so looking to use adapt once ready.....

PhilJ 07-21-2012 06:40 AM

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

Can't wait to see the new adapt just building a newer store using v4.5.1 so looking to use adapt once ready.....

It's coming along nicely, hoping to launch next week.

a1deano 07-21-2012 09:14 AM

Re: X-Cart Ability Template v4.4.x
 
Thanks for the update Phil can't wait to see it in action...

jcorneli 07-22-2012 08:50 AM

Re: X-Cart Ability Template v4.4.x
 
Hello All

I am getting an secure and insecure links error in IE and Chrome. It does not seem to be the Google error discussed at http://www.xcartmods.co.uk/docs/ability/ as I have looked at that code and it has an if statement now.

Any help would be appreciated.

Best

JEC

dave01978 07-22-2012 07:20 PM

Re: X-Cart Ability Template v4.4.x
 
is there are thread or webpage with the feature of the adapt template, or a comparison to the ability thinking of getting this one, but wondering if I should wait.
Thanks,
Dave

candc 07-22-2012 11:28 PM

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

Originally Posted by jcorneli
Hello All

I am getting an secure and insecure links error in IE and Chrome. It does not seem to be the Google error discussed at http://www.xcartmods.co.uk/docs/ability/ as I have looked at that code and it has an if statement now.

Any help would be appreciated.

Best

JEC


Something to do with one of your Twitter links by the looks of things

Insecure URL: http://platform.twitter.com/widgets.js
Found in: https://www.usapolicesupply.com/

Try this site for issues with secure pages.

http://www.whynopadlock.com/index.html

jcorneli 07-23-2012 06:27 AM

Re: X-Cart Ability Template v4.4.x
 
Candc -Thanks for pointing me in the right direction. I can now move on to trying to get that link secure.

Best

CenturyPerf 07-23-2012 04:20 PM

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

I'm seeing an odd error in the x-errors_php logs. Performing a Google search is I found other X-Cart sites using the Ability template with the same error.

The error is showing up in the logs daily.

Code:

[22-Jul-2012 03:27:11] Error: Smarty error: [in custom/common.tpl line 61]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590) in /xxxxx/xxxxxxxxx/public_html/include/lib/smarty/Smarty.class.php on line 1093
[22-Jul-2012 03:31:13] Error: Smarty error: [in custom/common.tpl line 61]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590) in /xxxxx/xxxxxxxxx/public_html/include/lib/smarty/Smarty.class.php on line 1093


The code related to this error is located in "/skin/ability/custom/common.tpl"
Code:

{*--------------------------------------------------------
REDIRECT OLD IE BROWSERS
--------------------------------------------------------*}
{if $config.Ability_Template.abi_ie_redirect eq "Y"}
<!--[if lte IE 7]>
{literal}
<script type="text/javascript"> window.location="upgrade.html"; </script>
{/literal}
<![endif]-->
{/if}


PhilJ 07-24-2012 08:04 AM

Re: X-Cart Ability Template v4.4.x
 
A bit further up in that template where it reads "BROWSER SPECIFIC IE FIXES" ensure the block of code reads like this...

Code:

{*--------------------------------------------------------
BROWSER SPECIFIC IE FIXES
--------------------------------------------------------*}
<!--[if IE 6]>
<script type="text/javascript" src="{if $is_https_zone}https{else}http{/if}://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
{literal}
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
{/literal}
<script src="{$AltSkinDir}/custom/js/DD_belatedPNG_0.0.8a.js"></script>
{literal}
<script>
DD_belatedPNG.fix('body,#abi_header_container,#abi_logo_small h1,#abi_logo_medium h1,#abi_logo_large h1,#abi_logo_xlarge h1,#abi_main_container,#abi_menu_container,h3.menu_title,h2.dialog_title,#abi_footer_container,#abi_copyright_container,button.button,button.button:hover');
</script>
{/literal}
<link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_6.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_7.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie_8.css" />
<![endif]-->
<!--[if IE]>
<link rel="stylesheet" href="{$AltSkinDir}/custom/css/ie.css" />
<![endif]-->


In earlier versions there was a {literal} tag missing.

CenturyPerf 07-24-2012 03:59 PM

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

Mine was missing that {literal} tag.

jcorneli 07-25-2012 07:55 AM

Re: X-Cart Ability Template v4.4.x
 
Thanks for the help. I got the problem fixed by editing the footer file and adding https

PhilJ 07-25-2012 08:00 AM

Re: X-Cart Ability Template v4.4.x
 
You can also use code like this...

Quote:

{if $is_https_zone}https{else}http{/if}

CenturyPerf 07-27-2012 01:36 AM

Re: X-Cart Ability Template v4.4.x
 
Phil is there a way to better /different way to refresh the page when when an item is deleted or updated from the cart?

When the mini cart is cleared it does not refresh the page to remove the checkout buttons.

NOTE: Using WebsiteCM's ezUpsell mod, so "update mini cart in background" is disabled.

SGS 07-30-2012 06:06 PM

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

Originally Posted by SGS
Phil, can you help me solve a small mystery. The small magnify icon and text showing Detailed Images and Count are not aligned correctly in the x-cart 4.5.1 version? With the 4.4.5 version it looked perfect. (See attached images)

I have tried to just move it over to the left but that did not work.

Thanks for having a look.

sg


Really need to get this issue fixed, anyone know how to fix it. I have compared files from the Ability 445 version to the 451 and 452. I can not see anything, no changes, plus on the demo site it shows the same.

Need help with this one Phil.

Cheers

David-Allan 08-03-2012 05:31 AM

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

Need to pick your brains.

I have been creating a custom header for the ability theme on our dev site. http://dev.robertsonpackaging.com

Now I'm not great at web design stuff so the grid system is really pickling my head. Is there a tutorial on this or anything?

I've got the header looking almost the way I want it just by messing about with the code and css but I can't get it exactly as I want.

Here is what it looks like now and below that is the way I want it to look. I'm sure it's not a big task but as I said I can't get my head around this whole grid thing.

http://dev.robertsonpackaging.com/images/support/original.jpg

and the way I would like it to look

http://dev.robertsonpackaging.com/images/support/desired.jpg

Here is code I used in header_style_custom.tpl

Code:

<div class="grid_3">
{include file="custom/header/content/header_logo.tpl"}
        <div class="clearing"></div>
</div>

<div class="grid_3">
<br><h2 class="h2_header_phone_new">Sales: {$config.Company.company_phone}</h2><p>
<h2 class="h2_header_phone_new">Fax: {$config.Company.company_fax}</h2>
        <div class="clearing"></div>
</div>

<div class="grid_16 omega">
{include file="custom/header/content/header_minicart.tpl"}
<br><br><br>{include file="custom/header/content/header_dropdown.tpl"}
        <div class="clearing"></div>
</div>

<div class="clearing"></div>


and here is the custom css I put in common.css
Code:

.h2_header_phone_new  { color: #fff; font-size: 1.9em; right no-repeat; background-position: 0% 4px; text-align: left; }

David-Allan 08-03-2012 05:42 AM

Re: X-Cart Ability Template v4.4.x
 
ok i'm getting closer.

http://dev.robertsonpackaging.com/images/support/v2.jpg

I changed the size of the search bar in the options and changed the code to look like this.

Code:

<div class="grid_3">
{include file="custom/header/content/header_logo.tpl"}
        <div class="clearing"></div>
</div>

<div class="grid_3">
<br><h2 class="h2_header_phone_new">Sales: {$config.Company.company_phone}  Fax: {$config.Company.company_fax}</h2><p>
        <div class="clearing"></div>
</div>

<div class="grid_16 omega">
<br>{include file="custom/header/content/header_minicart.tpl"}{include file="custom/header/content/header_dropdown.tpl"}
        <div class="clearing"></div>
{include file="custom/header/content/header_search.tpl"}
        <div class="clearing"></div>
</div>

<div class="clearing"></div>


All I need to do now is justify the search bars to the right and the text along the middle

Any help would be greatly appreciated


All times are GMT -8. The time now is 10:22 PM.

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