![]() |
Re: X-Cart Ability Template v4.4.x
I started getting this error:
SQL query : select categoryid, category from xcart_categories where categoryid in () order by category Error code : 1064 Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1 Request URI: /cart.php?mode=add&productid=137164&amount=1 Backtrace: /include/func/func.db.php:303 /include/func/func.db.php:203 /include/func/func.db.php:483 /ability_minicart_content.php:33 /include/common.php:98 /cart.php:614 ------------------------------------------------- This particular query is found in ability_minicart_content.php on line 33: Code:
$cart_categories1 = func_query("select categoryid, category from $sql_tbl[categories] where categoryid in (".$cat_list.") order by category"); I'm by no means an expert, so I can't figure out what is causing this but it appears to be something in the ".$cat_list." as indicated by the error: Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by category' at line 1 I'm running MySQL 5.1. Thank you |
Re: X-Cart Ability Template v4.4.x
hi phil
I submitted a support ticket that has been sitting unanswered for a while. ID: MM14PSB7TE |
Re: X-Cart Ability Template v4.4.x
Quote:
He's busy with Adapt, leave him be! :D/ On a serious note, he'll answer it soon enough so don't worry, if I can help shoot me a PM or reply on here. Last time I spoke to him he was very busy. :D |
Re: X-Cart Ability Template v4.4.x
Quote:
Already dealt with, thanks. |
Re: X-Cart Ability Template v4.4.x
|
Re: X-Cart Ability Template v4.4.x
Quote:
Talk about going overboard! Man it looks great and by those pics there is a lot of features with this template. P.s just tested this out on my iphone and my girlfriends Ipad and it works excellent. Guess I have some work to do to upgrade my old site! Saves me a few hundred/thousand for a mobile skin too! I have my weekend sorted! :D/ |
Re: X-Cart Ability Template v4.4.x
Quote:
I've edited the code and the error went away... code should read: Code:
$cart_categories1 = func_query("select categoryid, category from $sql_tbl[categories] where categoryid in ('".$cat_list."') order by category"); |
Re: X-Cart Ability Template v4.4.x
Phil, I visit your demo site for the adapt template and the pages do not scroll smoothly. I tried it on both firefox 14.0.1 and IE 9 on Windows 7. On the other hand, it works great on the ipad2.
FYI , the demo for the ability template is scrolling fine - a little jerkily but at an acceptable level. And I'm using a relatively fast computer. Can you fix this on the adapt template? |
Re: X-Cart Ability Template v4.4.x
Quote:
You know there is a key difference between Ability and Adapt right? Adapt is responsive, hence why it works on an Ipad and Iphone very well, the reason it won't scroll 'smooth' is because it is responsive. I'm a very fussy person and this didn't even enter my mind. :D FYI, view any responsive template, it'll scroll the same way. |
Re: X-Cart Ability Template v4.4.x
Thanks Pitak, duly noted, I will look into this.
|
Re: X-Cart Ability Template v4.4.x
Information regarding Adapt will appear on this thread
Please keep any related questions to that thread, thanks. |
Re: X-Cart Ability Template v4.4.x
Hey Guys,
I see my request seems to have gotten lost in the release of the new theme. Does any one have any advice on fixing the issue I have with my header layout? My original questions is way back here Also I'm sure I seen a post that showed how to have the pop up images which display when you hover over the features items on the homepage pop up on all products but I can't seem to find it any more. Does anyone know/remember how to do this? I'm sure I had it working before upgrading my x-cart. Cheers BTW the new theme looks great. We wont be changing over to it though as we are still very happy with this theme and havent had it very long. |
Re: X-Cart Ability Template v4.4.x
David,
Go to Post 335 on this thread. There is the fix for what your asking. It worked on my 452 cart, but there is also an update of ability 1.3 that has it built in now. Don't feel bad David, I am still waiting for a fix, Post 344, Display Images and the product column have to much white space. My guess is Phil is burning daylight and anything else he can find to get Adapt out the door. We will just have to wait till he come to the surface once again. Hope that Helps, Cheers |
Re: X-Cart Ability Template v4.4.x
Quote:
Thanks SGS that's exactly what I was looking for. I must have missed this when looking through the thread. It's cool, i'm in no rush to get the header working. I know that Phil is rushed off his feet just now. I thought maybe someone with more css experience than me might have known a quick fix for it. I just can't get my head round the grid system so I have just being playing about with the little knowledge I have to get it to where it is at the moment. |
Re: X-Cart Ability Template v4.4.x
Phil has a crazy sleeping pattern, that's if he sleeps! (Give him a day or two) He'll more than likely resolve the issue you have, I know the last time I was speaking to him he was working like mad to finish off Adapt, he just doesn't want to rush it and I don't blame him! I'd rather have a good solid product than a rushed buggy one for the sake of a few days! :D
Anything I can do to help the odd person just drop me a PM, I'm not the best but I'm alright. |
Re: X-Cart Ability Template v4.4.x
Phil - I put in a ticket about 10 days ago with no response other than the automated acknowledgement. I understand that you are busy, but could use some help.
|
Re: X-Cart Ability Template v4.4.x
Here is a little update. Less than three hours after my post, Phil has me up to par again. Not to mention that it is dinner time in the UK. As I had thought, with so many requests for help coming through, mine was just overlooked.
Great service and just as happy as every that I made x-cart-mods part of my cart package. Thank again Phil. |
Re: X-Cart Ability Template v4.4.x
Hey guys got a quicky for you. I have been trying all day using the debug console and firebug to find where I would put this image but I just can't find the code that shows the product options drop down menu for size. here is an image of what I mean.
http://www.robertsonpackaging.com/images/support/screenshot150812.jpg What I want to do is add an http://www.robertsonpackaging.com/images/support/animated_arrow_right.gifanimated arrow that points to the size field when this product option is available because for some reason even after writing in bold Red H1 tags that the customer has to select the desired size before they purchase they still phone up asking where the other sizes are. I hate using animated images on a site, it brings me back to the 90's but I really don't see any other option to be honest. Here is one of the products we are having problems with: Tamper Evident Containers |
Re: X-Cart Ability Template v4.4.x
David, try this...
skin/ability/modules/Product_Options/customer_options.tpl After... Code:
{if $usertype eq "A"} Insert... Code:
{if $v.class eq "Size"} <img src="{$ImagesDir}/support/animated_arrow_right.gif" alt="" />{/if} |
Re: X-Cart Ability Template v4.4.x
Wow Phil your an absolute super star. I don't know how you manage it.
It works perfectly. Thank you so much. Hopefully this may get customers to actually use this option. :) While I have your attention, what do you think about the release of XCN? Are you looking to develop any skins for it? Not sure if I want to go down the route of upgrading to XCN and losing my customised Ability skin. |
Re: X-Cart Ability Template v4.4.x
Hi Guys,
Does anyone know how to use multiple sliders on the home page? What I did was add this to welcome.tpl Code:
{include file="custom/welcome/promotions/image_roundabout/image_roundabout.tpl"} but it won't load if there is another slider activated above it. I'm guessing this is something to do with the java running two instances but i'm not sure how to resolve it. Basically I want to have the the responsive image slider at the top of the welcome page then further down I want the image roundabout or one of the other sliders to display also. I'm not fussed about it being hard coded like this as I have to change the images and description manually anyway so its not an issue it not being in the admin section. Any help would be appreciated. |
Re: X-Cart Ability Template v4.4.x
skin/ability/custom/welcome/promotions/promotions_common.tpl
Just take out the IF statements surrounding the image roundabout code. {if $config.Ability_Template.abi_home_promotions eq "image_roundabout"} ... {/if} |
Re: X-Cart Ability Template v4.4.x
Quote:
Thanks Phil I did actually remove the if statement and it does display the images but doesn't start the slider script. It's as if the two java scripts are fighting with each other. SO the top slider runs fine but the next one only displays the images and descriptions but not in the slider format if you know what I mean. Thanks for the speedy reply. |
Re: Ability Template Product List display problem
Did you ever get a fix on this? It seems we have the same problem when you have out of stock items, items with options and standard items. I switched to tubular display to avoid this for now.
Quote:
|
Re: X-Cart Ability Template v4.4.x
Quote:
Forgot about this post. I managed to get this to work so thanks again for your help. I seem to be getting better and better at fixing problems/customizing x-cart thanks to you. |
Re: Ability Template Product List display problem
Quote:
Hey guys just out of interest have you possible got a product that has a very long title on the pages that are out of alignment? I noticed that this happened on just one of my categories pages and it turned out one of the products on that page had a longer than usual title and when I temporarily disabled that product I seen the issue resolved itself so I just adjusted the product title to fix the problem. It may not be the issue your having but its worth a check. |
Re: X-Cart Ability Template v4.4.x
Quote:
Hoosierglass, you should be able to overcome the issue by setting a fixed height on each product in the grid... skin/ability/custom/css/common.css Replace... ul.grid_view li .product_block .overflow { overflow: hidden; width: 100%; height: auto; } With for example... ul.grid_view li .product_block .overflow { overflow: hidden; width: 100%; height: 350px; } |
Re: X-Cart Ability Template v4.4.x
Just a heads up, for those exporting their databases from the X-Cart DB backup tool, it is important that you've made this small modification...
In admin/db_backup.php comment out or delete this code... Code:
if (!in_array($_table, $sql_tbl)) It will then export ALL database tables including custom ones. Also, if you have a large database, for importing it's a good idea to use Bigdump |
Re: X-Cart Ability Template v4.4.x
Any suggestions for incorporating a blog with this layout? I would love to find a way to use a speed tab for setting up a blog. Right now my mind is mush from uploading products and refining images etc.
|
Re: X-Cart Ability Template v4.4.x
Phil,
I have placed a ticket asking about add-on products you sell. Product rotator, water mark and Product download. Will these be update to work with Ability and the 4.5.x branch? Cheers |
Re: X-Cart Ability Template v4.4.x
Hey Guys,
I have added this code: Code:
{include file="customer/main/products.tpl" products=$f_products} to this page : Farm Shop Packaging supplies But if you look at the page you will see that the rating stars are all messed up for some reason. They work fine everywhere else but not when called to a static page. Does anyone know how to resolve this issue? i'm thinking it may be a css issue with the correct css not being called to the static pages. Thanks D-A |
Re: X-Cart Ability Template v4.4.x
I was playing around with the FAQ portion of the template. The accordion is set to on and works just fine if you are in the Contact Us section. I followed the instructions for making a static page as shown here:
Use this Smarty code in your template/static page... {include file="custom/addons/faqs/faqs.tpl"} If including into a static page, ensure you have checked this option in X-Cart General Settings... "Parse Smarty tags in the content of embedded static pages" The problem is the accordion will not work and when you click on Show All or Hide All it takes you to the main page of the website. Same goes for clicking on any of the subjects in the FAQ. Anyone have any ideas as to why this is not working? |
Re: X-Cart Ability Template v4.4.x
Try, skin/ability/custom/addons/addons_common.tpl
Find the code below and change the pageid value to your FAQ static page ID... {if ($main eq "product" && $config.Ability_Template.abi_product_info_display eq "accordion") || ($main eq "help" && $config.Ability_Template.abi_addon_faqs eq "Y") || $smarty.get.pageid eq "1"} |
Re: X-Cart Ability Template v4.4.x
That worked like a charm.
Only other problem I am seeing right now is on the front page featured, new and random items. It shows a + Add To Cart instead of the buttons and quantity box. Any quick fixes for that one? |
Re: X-Cart Ability Template v4.4.x
Any ideas on my issue Phil?
Also i'd like to move the pagination items from the top of the product pages to the bottom, being at the top just doesnt make sense unless its at the bottom too. I have found the actual pagination bit in navigation_masonry.tpl but can't find where this is called from so I can move it tot he bottom or at least copy it to the bottom of the page. Any tips would be appreciated |
Re: X-Cart Ability Template v4.4.x
Got another question for you Phil.
If you go to the checkout page of my ability theme the structure of the page is all wonky. Have a look here Any idea what may be causing this? |
Re: X-Cart Ability Template v4.4.x
Quote:
.CSS Issue, view the Demo then look at your .CSS and compare to see what's missing? Just an idea. :D |
Re: X-Cart Ability Template v4.4.x
Quote:
|
Re: X-Cart Ability Template v4.4.x
Quote:
Thanks mate that did the trick. |
Re: X-Cart Ability Template v4.4.x
Is there a way to get the alt tags for the detailed images to work in this? This is kind of important for some of our products. It would also help SEO.
|
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.