Hello, friends
Now titles in store look like "Category_name: Product name"
Where can I change them to make them look like "Buy а category_name: product_name"
In some cases there are exclusions, and I have to edit titles manually (for 4-5 categories).
How can I do all this?
Thanks to Maxim Pishnyak.
You can do it in product card editing. But there is a bug i think.
If there is a " symbol(double quotes) in the page title VM system will leave only the first part of title that stays before the first " mark. Despite this in frontend page title will be shown with all written words and " signs. But it will so be until you don't save product card again. VM 2.0.18a
/" ?
We don't need " to use for having double quotes in Title nomore:
administrator\components\com_virtuemart\views\product\tmpl\product_edit_description.php
near row 39
<input type="text" class="inputbox" size="70" name="customtitle" value="<?php echo htmlentities($this->product->customtitle, ENT_QUOTES, "UTF-8");?>" />
Contributed by Borro
This a wors case prevention, but.... I got an other idea by it. Atm only added to vm2.1. Please test this:
Go to BE/helpers/vmtable.php around line 803 and line 825,... search for
$langData[$name] = $data->$name;
and replace it by
$langData[$name] = htmlentities($data->$name, ENT_QUOTES, "UTF-8");
The idea is that we store directly all language fields encoded.