- Posts: 12
- Thank you received: 0
Remove price from product name when checking out
14 years 1 week ago #73451
by peterc
Remove price from product name when checking out was created by peterc
Hi all.
I wonder if it's possible to remove the item price from product name when checking out?
/Peter
I wonder if it's possible to remove the item price from product name when checking out?
/Peter
Please Log in or Create an account to join the conversation.
14 years 5 days ago #73627
by nicolas
Replied by nicolas on topic Re: Remove price from product name when checking out
Hi,
You should be able to do that by adding such CSS on your website:
.hikashop_cart_product_name .hikashop_product_price_full{ display:none; }
You should be able to do that by adding such CSS on your website:
.hikashop_cart_product_name .hikashop_product_price_full{ display:none; }
Please Log in or Create an account to join the conversation.
14 years 5 days ago #73643
by peterc
Replied by peterc on topic Re: Remove price from product name when checking out
Hi Nicolas.
I pasted the code in frontend_custom.css, but it didn't work.
Any other ideas what to try?
//Peter
I pasted the code in frontend_custom.css, but it didn't work.
Any other ideas what to try?
//Peter
Please Log in or Create an account to join the conversation.
14 years 5 days ago #73661
by nicolas
Replied by nicolas on topic Re: Remove price from product name when checking out
That modification works.
Please refresh your browser's cache.
If you don't see it after that, please provide a link to your shop.
Please refresh your browser's cache.
If you don't see it after that, please provide a link to your shop.
Please Log in or Create an account to join the conversation.
14 years 5 days ago #73735
by peterc
Replied by peterc on topic Re: Remove price from product name when checking out
Hi again Nicolas.
Sorry to bother you, i pasted the code in fronted_custom.css. Then i cleaned out my cache in firefox an restarted firefox, that didn't work.
Then i tried to clean out the websites cache, that didn't help either.
Would be nice if you could take a quick look at my site, probably it's a small thing iv'e missed
www.matpasen.com
//Peter
Sorry to bother you, i pasted the code in fronted_custom.css. Then i cleaned out my cache in firefox an restarted firefox, that didn't work.
Then i tried to clean out the websites cache, that didn't help either.
Would be nice if you could take a quick look at my site, probably it's a small thing iv'e missed
www.matpasen.com
//Peter
Please Log in or Create an account to join the conversation.
14 years 3 days ago #74018
by nicolas
Replied by nicolas on topic Re: Remove price from product name when checking out
Ok, edit the file "cart" of the view "checkout" via the menu Display->Views and change the line:
if($display_item_price){
to:
if(false){
and that will work.
if($display_item_price){
to:
if(false){
and that will work.
Please Log in or Create an account to join the conversation.
14 years 2 days ago #74043
by peterc
Replied by peterc on topic Re: Remove price from product name when checking out
Hi Nicolas.
Is this the right file? /components/com_hikashop/views/checkout/tmpl/cart.php
The current code is:
if($display_item_price){
$this->row=&$row;
$this->unit=true;
echo ' '.strip_tags($this->loadTemplate());
}
I'm not sure what to do.
Even if i delete the hole code noting happens.
//Peter
Is this the right file? /components/com_hikashop/views/checkout/tmpl/cart.php
The current code is:
if($display_item_price){
$this->row=&$row;
$this->unit=true;
echo ' '.strip_tags($this->loadTemplate());
}
I'm not sure what to do.
Even if i delete the hole code noting happens.
//Peter
Please Log in or Create an account to join the conversation.
14 years 1 day ago #74360
by nicolas
Replied by nicolas on topic Re: Remove price from product name when checking out
If you edit the file directly and that you had previously edited it via the menu Display->Views, you won't see the modification.
You should do the modification via the menu Display->Views.
You should do the modification via the menu Display->Views.
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds