View Single Post
  #23  
Old 08-29-2012, 09:38 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Adapt Template

Quote:
1. How can I make the category's "Expand All" the default setting?

Clear cookies.

skin/adapt/custom/categories.tpl

At the end, insert...

Code:
{if $main eq "catalog" && $cat eq "0"} {literal} <script type="text/javascript"> $(document).ready(function(){ ddaccordion.expandall('accordion_cats'); }); </script> {/literal} {/if}


Quote:
2. I also like you OPC but it has a problem working with Iframe for X-Payments.

It's not been tested with xpayments.

Try...

skin/adapt/modules/One_Page_Checkout/opc_summary.tpl

After...

Code:
<input type="hidden" name="payment_method" id="payment_method" value="{$payment_method|default:$payment_data.payment_method_orig|escape}" />

Insert...

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

Or, you can revert back to the default OPC, by deleting or renaming this directory...

skin/adapt/modules/One_Page_Checkout
__________________
xcartmods.co.uk
Reply With Quote