Delete element title cart

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Nov 05, 2013 9:33 pm
Reply with quote
Report this post
Hello,

Could you help me about this.I don´t like so much the title on cart.How can I delete it?

Image

Regards
User avatar
Expert Boarder

GK User
Tue Nov 05, 2013 11:47 pm
Reply with quote
Report this post
Im not quite sure - this is item Name - Name of the item You have added to the cart.
What would you like to change?
User avatar
Moderator

GK User
Wed Nov 06, 2013 12:00 am
Reply with quote
Report this post
Hello Cyberek,

Sorry for my explanation.I don´t want show the title of the item.Only the "item has been added to cart".

Regards
User avatar
Expert Boarder

GK User
Wed Nov 06, 2013 7:41 pm
Reply with quote
Report this post
This is pure VM question, but its easy to do ;)
Please edit the file:
/components/com_virtuemart/views/cart/tmpl/padded.php

and replace:
Code: Select all
echo '<h4>'.JText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$this->product->product_name,$this->product->quantity).'</h4>';

with:
Code: Select all
echo '<h4>Item has beed added to cart</h4>';


Remember, if you update VM this file will be overrided.

To prevent that you could create template override by copying the catalog structure and file to
/templates/gk_bikestore/html/
so you will have:
/templates/gk_bikestore/html/com_virtuemart/views/cart/tmpl/padded.php
User avatar
Moderator

GK User
Wed Nov 06, 2013 11:03 pm
Reply with quote
Report this post
Many thanks Cyberek!
User avatar
Expert Boarder

GK User
Sat Nov 09, 2013 11:46 am
Reply with quote
Report this post
No problem :).
Closing the topic.
User avatar
Moderator


cron