- Posts: 86239
- Thank you received: 14228
[SOLVED] No Metadata when variant on product
13 years 4 months ago #106150
by nicolas
Replied by nicolas on topic No Metadata when variant on product
Change the line:
if(!in_array($field, array('product_keywords','product_description','product_page_title','product_canonical','product_alias','product_url')))
by:
if(!in_array($field, array('product_keywords','product_meta_description','product_page_title','product_canonical','product_alias','product_url')))
at the same place and that should help.
if(!in_array($field, array('product_keywords','product_description','product_page_title','product_canonical','product_alias','product_url')))
by:
if(!in_array($field, array('product_keywords','product_meta_description','product_page_title','product_canonical','product_alias','product_url')))
at the same place and that should help.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106258
by kubwit
Replied by kubwit on topic No Metadata when variant on product
hallo and thanks for reply.
i can't find the line. My file is
maybe i'm working on the wrong version??
i can't find the line. My file is
Code:
/**
* @package HikaShop for Joomla!
* @version 2.1.3
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
maybe i'm working on the wrong version??
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106259
by nicolas
Replied by nicolas on topic No Metadata when variant on product
I told you to add that line in a previous message:
www.hikashop.com/en/forum/3-bug-report/8...?limitstart=0#105963
So it's not possible that you don't have it.
www.hikashop.com/en/forum/3-bug-report/8...?limitstart=0#105963
So it's not possible that you don't have it.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106272
by kubwit
Replied by kubwit on topic No Metadata when variant on product
i get error
adding the word meta_.
The line now is
if(!in_array($field,array('product_keywords','product_meta_description','product_page_title','product_canonical','product_alias','product_url')))
Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /srv/www/ilmondodiwit.com/components/com_hikashop/views/product/view.html.php on line 825
The line now is
if(!in_array($field,array('product_keywords','product_meta_description','product_page_title','product_canonical','product_alias','product_url')))
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106306
by Xavier
Replied by Xavier on topic No Metadata when variant on product
Hi,
And if you remove this "meta" it's working ?
Are you sure that you don't have inadvertently added a character somewhere else in this file ?
And if you remove this "meta" it's working ?
Are you sure that you don't have inadvertently added a character somewhere else in this file ?
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106390
by kubwit
it works !!!
Thanks. I put solved ! Will this inserted in the code of future updates or do i have to change after each update.
Is the code of the essential and the business version the same ?? And will the work i did until now (products and shop settings) kept after upgrade from free version
I would like to purchase next week.
Please let me know.
Best regards
Replied by kubwit on topic No Metadata when variant on product
You got right !!Xavier wrote: Are you sure that you don't have inadvertently added a character somewhere else in this file ?
it works !!!
Thanks. I put solved ! Will this inserted in the code of future updates or do i have to change after each update.
Is the code of the essential and the business version the same ?? And will the work i did until now (products and shop settings) kept after upgrade from free version
I would like to purchase next week.
Please let me know.
Best regards
Please Log in or Create an account to join the conversation.
13 years 4 months ago #106394
by nicolas
Replied by nicolas on topic No Metadata when variant on product
Hi,
The modification will be added in next release of HikaShop.
That file is the same in all the versions of HikaShop.
You won't loose your settings and data when you upgrade.
Note however that this code modification will have to be done again each time you install HikaShop on your website until next version of HikaShop if you want that problem fixed.
The modification will be added in next release of HikaShop.
That file is the same in all the versions of HikaShop.
You won't loose your settings and data when you upgrade.
Note however that this code modification will have to be done again each time you install HikaShop on your website until next version of HikaShop if you want that problem fixed.
The following user(s) said Thank You: kubwit
Please Log in or Create an account to join the conversation.
Time to create page: 0.319 seconds