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
  #301  
Old 06-28-2012, 11:05 PM
 
john99 john99 is offline
 

Member
  
Join Date: Apr 2004
Location: Singapore
Posts: 23
 

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

Quote:
Originally Posted by PhilJ
Here's how...

1) Upload new file (attached below) skin/ability/custom/addons/image_preview/image_preview_featured.tpl

...[/code]

It is working now for the featured products so I try to do the same thing with Special offer on the home page. So I create the file

/ability/custom/addons/image_preview/image_preview_bestseller.tpl

by changing $f_products to $bestsellers and change the other 2 files

/store/modules/Bestsellers/bestsellers.php

add

# Ability Template
if ($config['Ability_Template']['abi_addon_image_preview'] == 'Y') {
if (!empty($bestsellers)) {
foreach($bestsellers as $key=> $product)
$bestsellers[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE id=".$product["productid"]);
}
}
# /Ability Template

and /ability/modules/Bestsellers/bestsellers.tpl

replace

<a href="product.php?productid={$product.productid}" class="preview"{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search") && $product.image_url} data-tooltip="sticky_{$product.productid}"{/if}>

But the thumbnail image did not appear. Anyone know why?

Regards,
John
__________________
xcart v4.5.0 & v4.5.1
xcartmods: X-Cart Ability Template
cflsystem: Contact us messages, System messages
BCSE: Global Product Options, Easy Variant view, Back-in-stock notify
Websitecm: Remember me
mercuryminds: Mailchimp Ecommerce 360
Reply With Quote
  #302  
Old 06-29-2012, 04:28 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Hey John

When will the new template be ready any news on this, if i am correct it will be faster and work with mobiles devices am I correct in thinking this.....Thanks
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #303  
Old 06-29-2012, 12:49 PM
 
PhilJ PhilJ is offline
 

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

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

Quote:
When will the new template be ready any news on this, if i am correct it will be faster and work with mobiles devices am I correct in thinking this.....Thanks

Probably mid-July, It's a pretty big job but I'm trying my best to get it ready ASAP. Yes, it will be mobile-tablet-desktop friendly, having a responsive layout throughout.

I'll be using it as the basis for my own store, so it's in my best interests to get it ready also

It will be available for v4.5.1+ only... I am trying build-in as many cool mods as possible without bloating it. The emphasis will be on speed and SEO.

I'm taking features requests by PM.
__________________
xcartmods.co.uk
Reply With Quote
  #304  
Old 06-29-2012, 12:54 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Thanks for letting me know John appreciate it
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #305  
Old 06-29-2012, 12:55 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

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

Quote:
Originally Posted by PhilJ
Probably mid-July, It's a pretty big job but I'm trying my best to get it ready ASAP. Yes, it will be mobile-tablet-desktop friendly, having a responsive layout throughout.

I'll be using it as the basis for my own store, so it's in my best interests to get it ready also
Hi Phil, Can the new mobile template be set up as a second template with desktops using Ability and mobile-tablet using the new mobile template? Thanks, Paul
__________________
WooCommerce as of 10/2022
Reply With Quote
  #306  
Old 06-29-2012, 01:43 PM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

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

Quote:
Originally Posted by a1deano
Thanks for letting me know John appreciate it

Who is John btw?
__________________
Xcart 4.5.2
Reply With Quote
  #307  
Old 06-29-2012, 10:50 PM
 
PhilJ PhilJ is offline
 

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

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

Quote:
Hi Phil, Can the new mobile template be set up as a second template with desktops using Ability and mobile-tablet using the new mobile template? Thanks, Paul

Yes, I don't see why not, however you'd need a device detection script, plus a skin selection script.

With Adapt, we are trying to make X-Cart "responsive" throughout, so that it works pretty much across all devices, without the need for a separate mobile template.
__________________
xcartmods.co.uk
Reply With Quote
  #308  
Old 06-30-2012, 12:05 AM
 
alinush alinush is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 88
 

Default Re: Ability Template v4.4.x custom 404 page

I'm having the same problem - does anyone know how to fix this?

The 404 page shows a totally different skin than Ability on 4.4.5



Quote:
Originally Posted by jmccunep
It appears Ability Template doesn't provide any built-in way to serve a 404 error page that uses the template. Am I missing something? Older versions of xcart used a static error page which readily integrated into the store's active template (but perhaps gave substandard 404 server responses?).

XCart 4.4.5 now serves the 404 error page (somehow) by way of a template found here skin/common_files/404/404_en.html which renders an error response page that doesn't even remotely resemble the Ability template. The 404 template file can be customized--though it doesn't look easy to customize it to match the rest of my site (and the source code is protected).

Can a 404 error page be enabled/created that meets 404 standards AND reproduces the header/footer/main menu of the Ability template pages of my site? How?

Thanks as always for help with this (brilliant) template.

XCart 4.4.5
Ability Template 1.051
www.twinoakshammocks.com is the live URL.
The development URL is not live on the web (is in a password protected folder).
__________________
X-Cart 4.1.x to 4.7.x
Reply With Quote
  #309  
Old 06-30-2012, 09:18 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Wups sorry made a boo boo there sorry Phil id just renamed you to John
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #310  
Old 07-01-2012, 01:10 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

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

Hi Phil just wanted to ask QT have a mod called quick tips can anything like this be added to the new templates looks a cool thing...
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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:04 AM.

   

 
X-Cart forums © 2001-2020