How to remove shopping cart feature

anarke

No avatar

2007-05-23 00:27

I want to remove the shopping cart feature and buy it button.

» Quick.Cart v2.x

xcvxcv

merci

No avatar

2007-05-23 09:51

anarke - this topic should help you http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3887

anarke

No avatar

2007-05-23 19:04

cheers ; )

xcvxcv

mikx

No avatar

2007-05-26 14:52

can anyone give detailed insturctions becouse I don't have products_more.tpl file

merci

No avatar

2007-05-26 22:53

mikx -
open templates/page.tpl and delete:

<li class="l0"><a href="?p=ordersBasket">$lang[my_cart]</a></li>

then open templates/products_details.tpl and delete:

<div id="addCart">
        <
h4>$lang[Shopping_cart]</h4>
        <
form action="" method="get" onsubmit="return checkForm( this, aCheckFormProduct );">
            <
fieldset>
                <
input type="hidden" name="p" value="ordersBasket" />
                <
input type="hidden" name="sOption" value="add" />
                <
input type="hidden" name="iProduct" value="$aData[iProduct]" />
                <
span><strong>$lang[Quantity]:</strong><input type="text" name="iQuantity" value="1" size="2" class="input" /></span>
                <
em><input type="submit" value="$lang[Add_to_basket]" class="submit" /></em>
            </
fieldset>
        </
form>
    <
a href="?p=ordersBasket">$lang[my_cart]</a>
  </
div>

next step is open file templates/products_list.tpl and remove this code:

<a href="?p=ordersBasket&amp;sOption=add&amp;iProduct=$aList[iProduct]&amp;iQuantity=1" class="basket" title="$lang[Add_to_basket]">$lang[Add_to_basket]</a>

and in the same file find this code

p=ordersBasket&amp;sOption=add&amp;iProduct=$aList[iProduct]&amp;iQuantity=1

and replace it with:

p=productsMore&amp;iProduct=$aList[iProduct]&amp;sName=$aList[sNameUrl]

Back to top
about us | contact