Integration of Custom API-Fetched Products (TecDoc) into XStore’s Templates and Functionalities

This topic has 2 replies, 2 voices, and was last updated 36 seconds ago ago by Jack Richardson

  • Avatar: delovionline
    delovionline
    Participant
    December 18, 2024 at 14:36

    Hello,

    I’m developing a custom plugin that fetches product data (images, specifications, pricing, inventory, etc.) on-the-fly through the TecDoc API and integrates this data into WooCommerce without any local caching. My goal is to ensure that these products are correctly displayed throughout the XStore theme — not just in the standard WooCommerce positions, but also in all the custom areas introduced by the XStore theme (e.g., unique product page layouts, custom “quick view” pop-ups, custom product filters or widgets).

    Currently, I do not have complete information on which hooks, filters, and template files XStore uses for product display outside of the standard WooCommerce hooks. To achieve seamless integration, I would greatly appreciate the following information:

    1. A list of all custom hooks, filters, and templates that XStore employs for displaying products, galleries, prices, short and long descriptions, product meta data, “Add to Cart” buttons, and any other product-related elements on product pages, listing pages, shop archives, category/tag pages, quick view modals, and so forth.

    2. Any available documentation or reference on how XStore modifies or extends the default WooCommerce structure. For example, are there specific functions to retrieve product data or display galleries? How does the theme recommend integrating or overriding product-related information so that custom data can be correctly rendered?

    3. Recommendations and guidelines on how to integrate with the XStore ecosystem without disrupting functionality. For instance, is it preferable to use a child theme for certain modifications, which hooks should I leverage to inject data at the appropriate time, and how can I replace the default product data fetching methods with the API-driven approach so that the theme continues to function as expected?

    Because all product data is retrieved on-the-fly from the API — with no local caching — it’s essential to know exactly where and when XStore expects product data to be available, as well as how it processes and presents this information. I need to ensure consistent and reliable product displays across all areas of the theme where products are shown.

    Thank you in advance for your assistance and guidance.

    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 18, 2024 at 17:04

    Hello @delovionline,

    Thank you for reaching out to us. Your integration-related questions appear to be quite specific and would be better suited for submission through our additional customization solution. You can access it here: https://www.8theme.com/account/#etheme_customization_panel.

    Since most of your inquiries pertain to hooks, filters, and other advanced customizations that are not related to bugs or issues with our theme, we kindly recommend using the link provided above. Our developers will be happy to assist you and provide answers to your questions.

    We appreciate your understanding!

    Best regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 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.