Post by HrHahn » Sun Dec 04, 2011 11:49 pm

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 1737 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 1737 times

12345.jpg

12345.jpg (134.02 KiB) Viewed 1737 times

Im using OpenCart v1.5.1.3.1 with a clean install.

Big thanks for any help
- Henrik

Newbie

Posts

Joined
Sun Dec 04, 2011 10:48 pm

Post by jimmyphong » Mon Dec 05, 2011 12:29 am

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']; ?>)

News CMS || Plus SEO || Live Price change with Option Select


Active Member

Posts

Joined
Sat Aug 13, 2011 2:48 am


Post by HrHahn » Mon Dec 05, 2011 8:44 pm

nice, big thanks for the help :)

Newbie

Posts

Joined
Sun Dec 04, 2011 10:48 pm
Who is online

Users browsing this forum: Baidu [Spider] and 68 guests