Page 1 of 1

Edit "Price" to "Price from" & remove "+ price" in options

Posted: Sun Dec 04, 2011 11:49 pm
by HrHahn
Hi

Do anyone know which file to edit and which line to change the text "Price" (in green in the picture below)? I would like to change the text from "Price" to "Price from".
123.jpg

123.jpg (143.53 KiB) Viewed 1738 times

Also, i would like to remove the (+100 DKK) and (+200 DKK) down in the options (market with red in the above picure). Is this possible? If yes, how can this be done?
The option type is "Radio", i have added two pictures to below:
1234.jpg

1234.jpg (48.64 KiB) Viewed 1738 times

12345.jpg

12345.jpg (134.02 KiB) Viewed 1738 times

Im using OpenCart v1.5.1.3.1 with a clean install.

Big thanks for any help
- Henrik

Re: Edit "Price" to "Price from" & remove "+ price" in optio

Posted: Mon Dec 05, 2011 12:29 am
by jimmyphong
1. Open file : catalog/language/you language/product/product.php

find line 11 :

Code: Select all

$_['text_price']        = 'Price:'; 
change text " Price: " to Price from

2.When you dont type the prices in option the price will not show !
but you wanna remove this you can :
Openfile : catalog/view/theme/default/template/product/product.tpl

find and remove (may be in line 90)
code:

Code: Select all

(<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)

Re: Edit "Price" to "Price from" & remove "+ price" in optio

Posted: Mon Dec 05, 2011 8:44 pm
by HrHahn
nice, big thanks for the help :)