SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.*, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_pages 
  INNER JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_pages.page_id 
  AND cscart_seo_names.type = 'a' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  cscart_pages.page_id = 52 
  AND cscart_page_descriptions.lang_code = 'ja' 
  AND (
    cscart_pages.usergroup_ids = '' 
    OR FIND_IN_SET(0, cscart_pages.usergroup_ids) 
    OR FIND_IN_SET(1, cscart_pages.usergroup_ids)
  ) 
  AND cscart_pages.page_type IN ('T', 'L', 'B', 'F')

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00183779,
    "const_condition": "1",
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_pages",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["page_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_page_descriptions",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["page_id", "lang_code"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "ref": ["const", "const", "const", "const"],
          "loops": 1,
          "rows": 1,
          "cost": 0.00183779,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
        }
      }
    ]
  }
}

Result

page_id company_id parent_id id_path status page_type position timestamp usergroup_ids localization new_window use_avail_period avail_from_timestamp avail_till_timestamp facebook_obj_type lang_code page description meta_keywords meta_description page_title link seo_name seo_path
52 0 7 7/52 A B 0 1779129000 0 0 N 0 0 activity ja How to Use AI for Product Recommendations <style> *{box-sizing:border-box;margin:0;padding:0} .ec{font-family:system-ui,sans-serif;color:#1a1a2e;width:100%} .ec a{color:#1a0552;text-decoration:none} .ec a:hover{text-decoration:underline} /* Banner */ .ec-banner{ background:#1a0552;border-radius:12px;padding:42px 50px;margin-bottom:28px; min-height:180px;display:flex;align-items:center } .ec-banner h1{ font-size:34px;font-weight:700;color:#fff;line-height:1.3;margin-bottom:10px } .ec-banner p{ color:rgba(255,255,255,0.8);font-size:14px;line-height:1.7 } .ec-tag{ display:inline-block;background:rgba(255,255,255,0.15); padding:6px 14px;border-radius:100px;font-size:12px;color:#fff;margin-bottom:10px } /* Sections */ .ec-section{margin-bottom:30px} .ec-section h2{ font-size:20px;color:#1a0552;margin-bottom:14px;font-weight:700 } .ec-section h3{ font-size:16px;color:#1a0552;margin:14px 0 8px;font-weight:700 } .ec-section p{ font-size:14px;line-height:1.8;color:#444;margin-bottom:10px } /* Intro box */ .ec-intro{ background:#faf5ff;border-radius:12px;padding:26px; display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-bottom:25px } .ec-intro img{width:100%;border-radius:10px} /* Callout */ .callout-box{ background:#faf5ff;border-left:4px solid #1a0552; padding:14px 16px;border-radius:8px;margin:15px 0; font-size:13px;color:#444;line-height:1.7 } .callout-box strong{color:#1a0552} /* Feature grid */ .ec-grid{ display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px;margin-top:10px } .ec-card{ background:#faf5ff;border:1px solid #ede8fb; padding:16px;border-radius:10px } .ec-card .icon{font-size:22px;margin-bottom:8px} .ec-card h4{font-size:14px;color:#1a0552;margin-bottom:6px} .ec-card p{font-size:12px;color:#555;line-height:1.6} /* FAQ */ .ec-faq{margin-top:20px} .faq-item{ border:1px solid #ede8fb;border-radius:10px;margin-bottom:10px } .faq-q{ padding:14px 16px;font-size:13px;font-weight:600; cursor:pointer;display:flex;justify-content:space-between } .faq-a{ display:none;padding:14px 16px;border-top:1px solid #ede8fb; font-size:13px;line-height:1.7;color:#555 } .faq-item.open .faq-a{display:block} /* CTA */ .ec-cta{ background:#1a0552;color:#fff;border-radius:12px; padding:30px;text-align:center } .ec-cta p{color:rgba(255,255,255,0.8);font-size:13px;margin:10px 0} .ec-cta a{ display:inline-block;margin-top:10px; background:#fff;color:#1a0552; padding:10px 18px;border-radius:100px;font-weight:600 } @media(max-width:600px){ .ec-banner{padding:28px} .ec-banner h1{font-size:24px} .ec-intro{grid-template-columns:1fr} } </style> <div class="ec"> <!-- ================= BANNER ================= --> <div class="ec-banner"> <div> <div class="ec-tag">???? AI E-Commerce Guide 2026</div> <h1>How to Use AI for Product Recommendations</h1> <p> Learn how AI transforms online shopping into a personalized experience by showing the right product to the right customer at the right time — increasing sales, engagement, and conversions. </p> </div> </div> <!-- ================= INTRO ================= --> <div class="ec-section ec-intro"> <div> <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71" alt="AI Ecommerce Dashboard"> </div> <div> <h2>???? Introduction: Why AI Product Recommendations Matter</h2> <p> In today’s competitive eCommerce world, customers don’t want to search — they want answers. AI-powered product recommendations solve this by automatically understanding user behavior and suggesting relevant products in real-time. </p> <p> Big platforms like Amazon, Netflix, and Shopify stores already use AI recommendation engines to increase sales by showing personalized products based on browsing history, purchase behavior, and preferences. </p> <div class="callout-box"> <strong>Key Insight</strong> AI recommendations can increase conversion rates by up to 30–40% when implemented correctly. </div> </div> </div> <!-- ================= PROBLEM ================= --> <div class="ec-section"> <h2>⚠️ The Problem with Traditional Product Recommendations</h2> <p> Most eCommerce stores still rely on static or manual recommendations like “Best Sellers” or “Trending Products”. These are not personalized and often fail to convert visitors into buyers. </p> <h3>Common Issues:</h3> <p>❌ Same recommendations for all users</p> <p>❌ No understanding of user intent</p> <p>❌ Low engagement on product pages</p> <p>❌ Poor cross-selling opportunities</p> <div class="callout-box"> <strong>Result</strong> Customers leave without buying because they don’t find relevant products quickly enough. </div> </div> <!-- ================= IMAGE SECTION ================= --> <div class="ec-section"> <h2>???? How AI Understands Customers</h2> ::contentReference[oaicite:0]{index=0} <p> AI systems collect and analyze user behavior data such as clicks, searches, time spent on products, cart activity, and purchase history. Then machine learning models predict what the customer is most likely to buy next. </p> </div> <!-- ================= SOLUTION ================= --> <div class="ec-section"> <h2>???? How AI Solves Product Recommendation Challenges</h2> <h3>1. Personalized Product Suggestions</h3> <p> AI tracks each user individually and shows products based on their unique preferences. For example, if a user browses running shoes, AI suggests socks, sportswear, and similar shoes. </p> <h3>2. Real-Time Learning</h3> <p> AI continuously learns from user interactions and improves recommendations over time. The more data it collects, the more accurate it becomes. </p> <h3>3. Cross-Selling & Upselling</h3> <p> AI identifies complementary products and increases average order value by suggesting add-ons during checkout. </p> <h3>4. Behavior-Based Targeting</h3> <p> Different users see different recommendations based on intent — new visitors, returning users, and high-value customers all get unique suggestions. </p> </div> <!-- ================= BENEFITS ================= --> <div class="ec-section"> <h2>???? Benefits of AI Product Recommendations</h2> <div class="ec-grid"> <div class="ec-card"> <div class="icon">????</div> <h4>Higher Sales</h4> <p>AI increases conversion rates by showing relevant products.</p> </div> <div class="ec-card"> <div class="icon">????</div> <h4>Better Shopping Experience</h4> <p>Customers find products faster and more easily.</p> </div> <div class="ec-card"> <div class="icon">????</div> <h4>Data-Driven Insights</h4> <p>Understand customer behavior and improve strategy.</p> </div> <div class="ec-card"> <div class="icon">????</div> <h4>Customer Retention</h4> <p>Personalized experiences bring customers back again.</p> </div> </div> </div> <!-- ================= TOOLS ================= --> <div class="ec-section"> <h2>???? Tools to Implement AI Product Recommendations</h2> <p> You don’t need to build AI from scratch. Many tools and platforms already provide ready-made solutions. </p> <h3>Popular Options:</h3> <p>???? Google Recommendations AI</p> <p>???? Shopify AI Recommendation Apps</p> <p>⚙ Custom Machine Learning Models</p> <p>???? CS-Cart AI Addons (like Ecartify AI Engine)</p> <div class="callout-box"> <strong>Pro Tip</strong> Start with plug-and-play AI tools before investing in custom machine learning models. </div> </div> <!-- ================= IMAGE ================= --> <div class="ec-section"> <h2>???? AI Recommendation Workflow</h2> ::contentReference[oaicite:1]{index=1} <p> This workflow shows how data flows from user activity → AI model → personalized product suggestions displayed on your store. </p> </div> <!-- ================= BEST PRACTICES ================= --> <div class="ec-section"> <h2>⚡ Best Practices for AI Recommendations</h2> <p>✔ Keep product data clean and structured</p> <p>✔ Use high-quality product images</p> <p>✔ Avoid irrelevant suggestions</p> <p>✔ Continuously test and optimize placement</p> <p>✔ Combine AI + manual merchandising strategy</p> <div class="callout-box"> <strong>Important</strong> AI works best when combined with human strategy, not used alone blindly. </div> </div> <!-- ================= FAQ ================= --> <div class="ec-faq"> <h2>❓ Frequently Asked Questions</h2> <div class="faq-item"> <div class="faq-q" onclick="this.parentElement.classList.toggle('open')"> What is AI product recommendation? <span>+</span></div> <div class="faq-a"> It is a system that uses machine learning to suggest products based on user behavior, preferences, and past interactions. </div> </div> <div class="faq-item"> <div class="faq-q" onclick="this.parentElement.classList.toggle('open')"> Do small stores need AI recommendations? <span>+</span></div> <div class="faq-a"> Yes. Even small stores can increase conversions significantly using AI tools available as plugins or SaaS platforms. </div> </div> <div class="faq-item"> <div class="faq-q" onclick="this.parentElement.classList.toggle('open')"> Does AI improve sales automatically? <span>+</span></div> <div class="faq-a"> AI improves sales only when properly implemented with clean data and optimized product listings. </div> </div> </div> <!-- ================= CTA ================= --> <div class="ec-cta"> <h2>???? Ready to Use AI in Your Store?</h2> <p> Start implementing AI-powered product recommendations today and turn your visitors into buyers automatically. </p> <a href="https://ecartify.com/store/">Explore AI Solutions</a> </div> </div> how-to-use-ai-for-product-recommendations 7