Showing posts with the label hybris

How to Integrate Google Enhanced Ecommerce with Hybris

How to implement Universal Analytics (UA) Enhanced Ecommerce features using Google Tag Manager on a Hybris ?

We already have successfully implemented Enhanced E-commerce (Integrating Google Analytics) for many of Hybris sites.

Hybris flexible search query examples

Scenario1: Basic JOIN and IN query syntax Get the most recent order for each customer using flexible search. select {o.code} as orderCode, {} as name, {a.cellphone} as cellphone from {order as o join Customer as c on {} = {o.user} join Address as a on {o.deliveryaddress} = {} } where {o.code} in ({{select max({code}) from {order} group by {user}}}) Note: This query is not optimized one. This is just the reference to the temporary table join syntax select t1.orderCode,, t1.cellphone from ({{ select {o.code} as orderCode, {} as name,{a.cellphone} as cellphone from {order as o join Customer as c on {} = {o.user} join Address as a on {o.deliveryaddress} = {}} }}) as t1 Join ({{ select max({code}) as orderCode, {user} as user from {order} group by {user} }}) as t2 on t1.orderCode = t2.orderCode Scenario2: Temporary table and join between them

[Solved] Solr error while hybris server startup

Scenario Getting error creating a bean with name 'defaultSolrServerService', while Hybris server startup? Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Invocation of init method fa ing Solr start command for instance: [name: default, port: 8983] ... Solr server not yet started for instance: [name: default, port: 8983] [retry: 7, interval: 5000ms] Root cause OOTB (post hybris v5.5) default solr configuration ensures that a standalone Solr server is configured, started and stopped together with the platform. When we use ctr + c to stop the Hybris instance it should also stop the solr instance. But sometime solr instance not stopped properly with it and again we try to start the Hybris server, which internally tries to instantiate solr server (which already running) again and that leads to such errors. Troubleshoot steps to solve your issue1. Stop and start Hybris server again - This solve the …