• Customer

    I can't find the DELETE button on the shopping cart page

    Posted by: lluisvera Apr 19, 2016 at 11:06 (9 year ago)
    I just realised that the 'DELETE' button for each product line has disappeared. When I look in firebug, the is empty, even though the code is where it should be in theme/shopping-cart.tpl. I have restored the original file but even then the DELETE button is missing.

    How can I find out what is causing this?

    My site is http://www.litografias.net/ . When you buy a product and you go to the car, you'll see that there is no DELETE button available to remove the product.

    Any ideas would be greatly appreciated

    My tbody of the shopping-cart.tpl is the following:

    {assign var='odd' value=0}
    {assign var='have_non_virtual_products' value=false}
    {foreach $products as $product}
    {if $product.is_virtual == 0}
    {assign var='have_non_virtual_products' value=true}
    {/if}
    {assign var='productId' value=$product.id_product}
    {assign var='productAttributeId' value=$product.id_product_attribute}
    {assign var='quantityDisplayed' value=0}
    {assign var='odd' value=($odd+1)%2}
    {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId) || count($gift_products)}
    {* Display the product line *}
    {include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}
    {* Then the customized datas ones*}
    {if isset($customizedDatas.$productId.$productAttributeId)}
    {foreach $customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] as $id_customization=>$customization}



    {foreach $customization.datas as $type => $custom_data}
    {if $type == $CUSTOMIZE_FILE}


    {foreach $custom_data as $picture}

    {/foreach}


    {elseif $type == $CUSTOMIZE_TEXTFIELD}

    {foreach $custom_data as $textField}

    {if $textField.name}
    {$textField.name}
    {else}
    {l s='Text #'}{$textField@index+1}
    {/if}
    : {$textField.value}

    {/foreach}

    {/if}
    {/foreach}


    {if isset($cannotModify) AND $cannotModify == 1}
    {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}
    {else}



    {if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity


    {else}



    {/if}




    {/if}




    {if isset($cannotModify) AND $cannotModify == 1}
    {else}





    {/if}


    {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity}
    {/foreach}


    {* If it exists also some uncustomized products *}
    {if $product.quantity-$quantityDisplayed > 0}{include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}{/if}
    {/if}
    {/foreach}
    {assign var='last_was_odd' value=$product@iteration%2}
    {foreach $gift_products as $product}
    {assign var='productId' value=$product.id_product}
    {assign var='productAttributeId' value=$product.id_product_attribute}
    {assign var='quantityDisplayed' value=0}
    {assign var='odd' value=($product@iteration+$last_was_odd)%2}
    {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId)}
    {assign var='cannotModify' value=1}
    {* Display the gift product line *}
    {include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}
    {/foreach}

    {if sizeof($discounts)}

    {foreach $discounts as $discount}

    {$discount.name}


    {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if}


    1

    {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if}


    {if strlen($discount.code)}



    {/if}


    {/foreach}

    {/if}


    I don't know if I'm looking the right .tpl

    Here you have an image to see what i need to change:

    http://i.imgur.com/zw44PGJ.png

    This image should look like this:

    http://i.imgur.com/TxqRqre.png

  • Customer

    Posted by: lluisvera, Apr 20, 2016 at 07:50 (9 year ago)

    Okey I create now an user for you.
  • Customer

    Posted by: lluisvera, Apr 25, 2016 at 08:06 (9 year ago)

    Her you have
  • Customer

    Posted by: lluisvera, Apr 29, 2016 at 09:26 (9 year ago)

    I think you have all the permissions ready, try again.
    If the problem perssists, send me the file and I will try to upload by myself.
    Regards,
    Carlos.

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible