This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago ago by Olga Barlow
Hi,
I try to modify a plugin for getting brands. On the private content area I attach the specific part of code. Do you have a clue why is not working?
Regards
Hello,
What plugin do you edit? And where you want to get brands?
We are unable to provide support for customizations under our Support Policy. But you can submit customization request to customization team.
Regards
Hi,
it’s a plugin that produces an xml with products data, and one of the data that is needed is the brand. I don’t want customization, I just asked for taking a look at the code, because it works with others attributes but not with brands. Can you take a look at the code and just tell me if it is ok or not?
Hello,
Our brans option was not created as an attribute but as a custom post type. For more detail check the following files:
et-core-plugin/app/controllers/post-types.php
et-core-plugin/config/post-type.php
Also, you can check the etheme_single_product_brands() function from xstore/framework/woo.php . Maybe it helps you to find out how to take the brand.
Regards
You must be logged in to reply to this topic.Log in/Sign up