Get brands from a plugin - by nv@skepsisit.gr

This topic has 4 replies, 2 voices, and was last updated 3 years, 9 months ago ago by Olga Barlow

  • Avatar: nv@skepsisit.gr
    nv@skepsisit.gr
    Participant
    July 7, 2020 at 14:20

    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

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 7, 2020 at 23:42

    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

    Avatar: nv@skepsisit.gr
    nv@skepsisit.gr
    Participant
    July 8, 2020 at 06:26

    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?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 8, 2020 at 15:13

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.