Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Script not geting product title #1

Open
koalahbh opened this issue Mar 11, 2021 · 2 comments
Open

Script not geting product title #1

koalahbh opened this issue Mar 11, 2021 · 2 comments

Comments

@koalahbh
Copy link

at mcpfi-importer.php line 158
changed from:
$mcpfiProductList[$i]['prTitle'] = esc_attr($products->title->__toString());
to:
$mcpfiProductList[$i]['prTitle'] = esc_attr($products->children('g', true)->title->__toString());

and problem solved

@koalahbh
Copy link
Author

same problem at line 124.
p.s. thanks for this plugin

@koalahbh
Copy link
Author

Same problem at lines 149 and 126

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant