You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Julien NICOLAS <ju...@nereide.fr> on 2018/08/02 15:32:46 UTC

Use ecommerce plugin in db loaded with seed only

Hi everybody,

I'm testing the trunk only using seed data. I set everything (almost 
everything...). To be sure that my settings are ok, I create a sale 
order in the backoffice with success.

But in the front office (plugin ecommerce) impossible to add a product 
in the cart...

I've got this message : "Fatal error calling inventory checking 
services: org.apache.ofbiz.service.ServiceValidationException: The 
following required parameter is missing: 
[isStoreInventoryAvailableOrNotRequired.productStoreId]"

In debug I can see that the productStoreId is null in the "setQuantity" 
method in ShoppingCartItem.java. It seems that init cart have not be done...

I'm a little bit lost... so, this is my website settings :

I'm using the ecommerce component that the web.xml for the website is as 
following :

     <context-param>
         <description>A unique ID used to look up the WebSite 
entity</description>
         <param-name>webSiteId</param-name>
         <param-value>WebStore</param-value>
     </context-param>

My productStoreId is 10000

the website
<WebSite allowProductStoreChange="N" displayMaintenancePage="N" 
isDefault="Y" productStoreId="10000" siteName="Ecommerce" 
visualThemeSetId="ECOMMERCE" webSiteId="WebStore"/>

I have a company, a catalog linked to my product store, a facility, my 
product linked to the catalog and the facility and a sale price.

Maybe I missed something but I don't know what...

Any help are welcome :)

Thanks in advance

-- 
logoNrd <http://nereide.fr/>
	Julien NICOLAS
Consultant fonctionnel
julien.nicolas@nereide.fr
8 rue des Déportés 37000 TOURS
France
Std : +33 (0)9 72 40 37 36 - Mob : +33 (0) 666 983 953

réseau Libre-Entreprise <http://www.libre-entreprise.org/> | Centre&TIC 
<http://www.centre-tic.com/>


Re: Fresh Start: 17.12 or 16.11

Posted by Gil Portenseigne <gi...@nereide.fr>.
Hello Charles,

In my opinion, whereas branch 17.12 is in stabilization period and you might
encounter some bugs, but if you are not in a hurry i'll go with it,
since there has been 8 month of bug fixes and a stable release should
come up at the end of the year or so.
This done that would spare the cost of a migration from 16.11 to 17.12.

I you want to be safer choose 16.11

Welcome in the community !

Gil

Le vendredi 03 août 2018 à 14:11:57 (+0800), Charles So a écrit :
> Hello everyone,
> 
> We are starting afresh.
> 
> We aim to replace OpenCart (ecommerce) with OFBiz, mainly to build a customer facing commerce site with responsive layout, and semi-complex discount computation based on a number of parameters such as number of products in cart, categories, discounts of the day, promotions and etc.
> 
> Which version should we start with, the stable 16.11 or branch release 17.12? We expect to do quite a bit of coding to implement the features mentioned above.
> 
> Thanks alot!
> Charles

Fresh Start: 17.12 or 16.11

Posted by Charles So <ch...@tourdefarm.com>.
Hello everyone,

We are starting afresh.

We aim to replace OpenCart (ecommerce) with OFBiz, mainly to build a customer facing commerce site with responsive layout, and semi-complex discount computation based on a number of parameters such as number of products in cart, categories, discounts of the day, promotions and etc.

Which version should we start with, the stable 16.11 or branch release 17.12? We expect to do quite a bit of coding to implement the features mentioned above.

Thanks alot!
Charles

Re: Use ecommerce plugin in db loaded with seed only

Posted by Michael Brohl <mi...@ecomify.de>.
Yeah, it's hot outside... ;-)

Have a nice weekend,

Michael


Am 03.08.18 um 17:32 schrieb Julien NICOLAS:
> Hi,
>
> So, I don't know what's happen yesterday but... everything is working 
> well today with this setting \o/
>
> Unbelievable...
>
> My apologize for the noise,
>
> Have a nice week-end :)
>
> Julien.
>
>
> Le 02/08/2018 à 17:32, Julien NICOLAS a écrit :
>> Hi everybody,
>>
>> I'm testing the trunk only using seed data. I set everything (almost 
>> everything...). To be sure that my settings are ok, I create a sale 
>> order in the backoffice with success.
>>
>> But in the front office (plugin ecommerce) impossible to add a 
>> product in the cart...
>>
>> I've got this message : "Fatal error calling inventory checking 
>> services: org.apache.ofbiz.service.ServiceValidationException: The 
>> following required parameter is missing: 
>> [isStoreInventoryAvailableOrNotRequired.productStoreId]"
>>
>> In debug I can see that the productStoreId is null in the 
>> "setQuantity" method in ShoppingCartItem.java. It seems that init 
>> cart have not be done...
>>
>> I'm a little bit lost... so, this is my website settings :
>>
>> I'm using the ecommerce component that the web.xml for the website is 
>> as following :
>>
>>     <context-param>
>>         <description>A unique ID used to look up the WebSite 
>> entity</description>
>>         <param-name>webSiteId</param-name>
>>         <param-value>WebStore</param-value>
>>     </context-param>
>>
>> My productStoreId is 10000
>>
>> the website
>> <WebSite allowProductStoreChange="N" displayMaintenancePage="N" 
>> isDefault="Y" productStoreId="10000" siteName="Ecommerce" 
>> visualThemeSetId="ECOMMERCE" webSiteId="WebStore"/>
>>
>> I have a company, a catalog linked to my product store, a facility, 
>> my product linked to the catalog and the facility and a sale price.
>>
>> Maybe I missed something but I don't know what...
>>
>> Any help are welcome :)
>>
>> Thanks in advance
>>
>



Re: Use ecommerce plugin in db loaded with seed only

Posted by Julien NICOLAS <ju...@nereide.fr>.
Hi,

So, I don't know what's happen yesterday but... everything is working 
well today with this setting \o/

Unbelievable...

My apologize for the noise,

Have a nice week-end :)

Julien.


Le 02/08/2018 à 17:32, Julien NICOLAS a écrit :
> Hi everybody,
>
> I'm testing the trunk only using seed data. I set everything (almost 
> everything...). To be sure that my settings are ok, I create a sale 
> order in the backoffice with success.
>
> But in the front office (plugin ecommerce) impossible to add a product 
> in the cart...
>
> I've got this message : "Fatal error calling inventory checking 
> services: org.apache.ofbiz.service.ServiceValidationException: The 
> following required parameter is missing: 
> [isStoreInventoryAvailableOrNotRequired.productStoreId]"
>
> In debug I can see that the productStoreId is null in the 
> "setQuantity" method in ShoppingCartItem.java. It seems that init cart 
> have not be done...
>
> I'm a little bit lost... so, this is my website settings :
>
> I'm using the ecommerce component that the web.xml for the website is 
> as following :
>
>     <context-param>
>         <description>A unique ID used to look up the WebSite 
> entity</description>
>         <param-name>webSiteId</param-name>
>         <param-value>WebStore</param-value>
>     </context-param>
>
> My productStoreId is 10000
>
> the website
> <WebSite allowProductStoreChange="N" displayMaintenancePage="N" 
> isDefault="Y" productStoreId="10000" siteName="Ecommerce" 
> visualThemeSetId="ECOMMERCE" webSiteId="WebStore"/>
>
> I have a company, a catalog linked to my product store, a facility, my 
> product linked to the catalog and the facility and a sale price.
>
> Maybe I missed something but I don't know what...
>
> Any help are welcome :)
>
> Thanks in advance
>