Post by jash » Tue Mar 19, 2013 5:03 pm

Hello,
I found one example how to remove step 3 in checkout with vqmod and i edit this code to remove 1 step in checkout. But there is a error in my code and i don't know what i am doing wrong. Maybe you can help me?
Here is the code:
<modification>
<id>Step 1 Checkout</id>
<version>1.2</version>
<vqmver>1.0.8</vqmver>
<author>ffct.cc</author>

<file name="catalog/view/theme/default/template/checkout/checkout.tpl">
<operation>
<search position="replace"><![CDATA[
<div id="checkout">
]]></search>
<add><![CDATA[
<div id="checkout" style="display: none">
]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[
$('#checkout .checkout-content').slideDown('slow');
]]></search>
<add><![CDATA[
$('#checkout #button-accout').click();
$('#button-account').click();
]]></add>
</operation>
</file>

<file name="catalog/view/theme/default/template/checkout/guest.tpl">
<operation>
<search position="replace"><![CDATA[
<input type="radio" name="account" value="guest" id="guest" checked="checked" />
]]></search>
<add><![CDATA[
<input type="radio" name="account" value="guest" id="guest" checked="checked" style="display: none"/>
]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[
<label for="guest"><?php echo $entry_guest; ?></label>
]]></search>
<add><![CDATA[
<label for="guest" style="display: none"><?php echo $entry_guest; ?></label>
]]></add>
</operation>
</file>

<file name="catalog/view/theme/default/template/checkout/register.tpl">
<operation>
<search position="replace"><![CDATA[
<input type="radio" name="account" value="guest" id="guest" checked="checked" />
]]></search>
<add><![CDATA[
<input type="radio" name="account" value="guest" id="guest" checked="checked" style="display: none"/>
]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[
<label for="guest"><?php echo $entry_guest; ?></label>
]]></search>
<add><![CDATA[
<label for="guest" style="display: none"><?php echo $entry_guest; ?></label>
]]></add>
</operation>
</file>
</modification>

http://hybridservers.com/


Newbie

Posts

Joined
Sat Mar 16, 2013 10:54 pm
Who is online

Users browsing this forum: No registered users and 2 guests