Prestashop allows to create CMS pages for product features. At least, they offer a field in the CMS creation that says URL. I would like to retrieve that URL in my product page and insert it there with a different controller extended from CMS. This should be an easy task if the actualURL of the product feature could be retrieved at all, but it seems like it is an impossible task. When you use:
$this->product->getFrontFeatures($this->context->language->id);
in your product controller, you get an array of features that looks like this:
Array
(
[name] => Material
[value] => Polartec Classic 200.
[id_feature] => 68
)
The URL value is not listed anywhere and of course it makes the task really hard. Unless I am doing something wrong and I should use a different function to get the features values. Can someone tell me which modifications should I do to Prestashop in order to be able to capture the value I require? I would like my array to look like this:
Array
(
[name] => Material
[value] => Polartec Classic 200.
[id_feature] => 68
[URL] => polartec-classic-200
)