Jump to content

How to modify information to display in the shopping cart!


Recommended Posts

Hey there folks i'm kind of newbie on this i'd appreciate your help, I've been trying to modify the information to display in my shopping cart however im having some problems, for instance i want the cart to display only the Service/Product item...

CART BEFORE MODIFICATION

1x Laundry Express $50.00
1x Laundry Special $60.00
-------------------
Transportation $0
Total $110

I only need to display this:

Laundry Express
Laundry Special
Transportation $0

Since i need to configure this as an order for laundry services we do not still know the quantity, so the user do not need to know how much is going to pay yet! till we send them an email

(ONLY HIDING PRICING, QUANTITY including the "X", and TOTAL SINCE I NEED THIS INFORMATION FOR THE RECEIPT OR TICKET SENT TO THEIR EMAIL,)

What i did is to modify the blockcart.tpl i commented the following lines.... However it works at the beginning but for example if i log out it goes back to the previious cart display with the quantity and pricing etc. and i have to refresh in order to display correctly

    
<!--{if $cart_qties > 0}{$cart_qties}{/if}-->
   <!--{if $cart_qties > 0}{if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false)}{else}{convertPrice price=$cart->getOrderTotal(true)}{/if}{/if}-->



and in line45

                <!--{$product.cart_quantity}x-->



Line 62

                            <!--{$customization.quantity}x{if isset($customization.datas.$CUSTOMIZE_TEXTFIELD.0)}{t text=$customization.datas.$CUSTOMIZE_TEXTFIELD.0.value length='28' encode='true'}-->



Line 64

                            <!--{l s='Customization #' mod='blockcart'}{$id_customization|intval}{l s=':' mod='blockcart'}-->



Line 84

                <!---{if $discount.value_real != '!'}{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if}{/if}-->



Lines 93-94

    <!--{l s='Shipping' mod='blockcart'}-->
           <!--{$shipping_cost}-->



Lines 101-102

<!--{l s='Total' mod='blockcart'}-->
       <!--    {$total}-->




THANKS,, =)

Link to comment
Share on other sites

any ideas?? plss! ill attach

this is how it looks when is working! in other words im logged in! it also works when im not logged but i have to refresh the page, however this is these are the scenarios to get what i dont want to.

1.-Join to my page.
2.-I add a service/product to my cart.
3.Get the unwanted..

picture 3.png

1.-Join to my page.
2.-I add a service/prduct to my cart.
3.-Refresh the page to get it working.
4.-Log in.
5.-Log out (and i get once again the unwanted picture 3.png)

What im look for is something like Picture 2.png

hope this explains better since i havent received replies haha, np anyway ill be waiting

34453_NeuN3mogeaOTjAK2oi6r_t

34454_zh03ua4aAVj4k4UaPLwK_t

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...