Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Ashish Vijaywargiya
Hello,

On the backend catalog application we have a link "Product Page"
button for navigating to the Product Detail page in Ecommerce
Component.
http://img714.imageshack.us/img714/9707/productpage.png

https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644

The value for ecommerce component is hardcoded on the link.

<link target="/ecommerce/control/product" url-mode="inter-app"
text="${uiLabelMap.ProductProductPage}" style="buttontext">
    <parameter param-name="product_id" from-field="productId"/>
</link>

So if we create custom application then this page redirect to the
ecommerce application, which is not correct IMO. If we talk about
single custom application then we can maintain a patch and can fix
this line of code.
But how should we handle the case when we have multiple custom
component and we may need to redirect to the custom ecommerce
component that doesn't have ecommerce as a mount point and that
contains this specific product that we are editing.

How can we handle this scenario?
Do we have any settings in OFBiz that can be used to handle this case?

Any help on this would be greatly appreciated.

--
Ashish Vijaywargiya
http://www.saveourtigers.com/
Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Jacques Le Roux
Administrator
Do we really need this?

Jacques

From: "Ashish Vijaywargiya" <[hidden email]>

> Hello,
>
> On the backend catalog application we have a link "Product Page"
> button for navigating to the Product Detail page in Ecommerce
> Component.
> http://img714.imageshack.us/img714/9707/productpage.png
>
> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>
> The value for ecommerce component is hardcoded on the link.
>
> <link target="/ecommerce/control/product" url-mode="inter-app"
> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>    <parameter param-name="product_id" from-field="productId"/>
> </link>
>
> So if we create custom application then this page redirect to the
> ecommerce application, which is not correct IMO. If we talk about
> single custom application then we can maintain a patch and can fix
> this line of code.
> But how should we handle the case when we have multiple custom
> component and we may need to redirect to the custom ecommerce
> component that doesn't have ecommerce as a mount point and that
> contains this specific product that we are editing.
>
> How can we handle this scenario?
> Do we have any settings in OFBiz that can be used to handle this case?
>
> Any help on this would be greatly appreciated.
>
> --
> Ashish Vijaywargiya
> http://www.saveourtigers.com/
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Ruth Hoffman-2
Hi Jacques:
Need what? The original "Product Page" button?
TIA
Ruth

Jacques Le Roux wrote:

> Do we really need this?
>
> Jacques
>
> From: "Ashish Vijaywargiya" <[hidden email]>
>> Hello,
>>
>> On the backend catalog application we have a link "Product Page"
>> button for navigating to the Product Detail page in Ecommerce
>> Component.
>> http://img714.imageshack.us/img714/9707/productpage.png
>>
>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>
>> The value for ecommerce component is hardcoded on the link.
>>
>> <link target="/ecommerce/control/product" url-mode="inter-app"
>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>    <parameter param-name="product_id" from-field="productId"/>
>> </link>
>>
>> So if we create custom application then this page redirect to the
>> ecommerce application, which is not correct IMO. If we talk about
>> single custom application then we can maintain a patch and can fix
>> this line of code.
>> But how should we handle the case when we have multiple custom
>> component and we may need to redirect to the custom ecommerce
>> component that doesn't have ecommerce as a mount point and that
>> contains this specific product that we are editing.
>>
>> How can we handle this scenario?
>> Do we have any settings in OFBiz that can be used to handle this case?
>>
>> Any help on this would be greatly appreciated.
>>
>> --
>> Ashish Vijaywargiya
>> http://www.saveourtigers.com/
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

BJ Freeman
In reply to this post by Ashish Vijaywargiya
I have not thought this through all the way yet.
Plus David is working on a Multiple hosting solution so his approach may
not be the same.
First consideration is do you want the catalog to be independent of the
product store, say like for just a user login.
Not sure of the best practices about where to place actual links
Each Ecommerce has a web.xml and ofbiz-component.xml
The Web.xml lets you define parameters to be used in that specific
component. so you can use a parameter there.
you could consider taking data from the webapp in the ofbiz-component.xml.

it also has productstore entity and Website Entity.
if all your catalogs will be tied to a product store, you might use the
website entity as a source.

my 2cents



Ashish Vijaywargiya sent the following on 2/13/2010 7:16 AM:

> Hello,
>
> On the backend catalog application we have a link "Product Page"
> button for navigating to the Product Detail page in Ecommerce
> Component.
> http://img714.imageshack.us/img714/9707/productpage.png
>
> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>
> The value for ecommerce component is hardcoded on the link.
>
> <link target="/ecommerce/control/product" url-mode="inter-app"
> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>     <parameter param-name="product_id" from-field="productId"/>
> </link>
>
> So if we create custom application then this page redirect to the
> ecommerce application, which is not correct IMO. If we talk about
> single custom application then we can maintain a patch and can fix
> this line of code.
> But how should we handle the case when we have multiple custom
> component and we may need to redirect to the custom ecommerce
> component that doesn't have ecommerce as a mount point and that
> contains this specific product that we are editing.
>
> How can we handle this scenario?
> Do we have any settings in OFBiz that can be used to handle this case?
>
> Any help on this would be greatly appreciated.
>
> --
> Ashish Vijaywargiya
> http://www.saveourtigers.com/
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

BJ Freeman
In reply to this post by Ashish Vijaywargiya
Some I know use it as a preview.
However as we move more to the cms oriented products data
maybe need to think if there is a way to accomplish this with the CMS
component.



Jacques Le Roux sent the following on 2/13/2010 8:09 AM:

> Do we really need this?
>
> Jacques
>
> From: "Ashish Vijaywargiya" <[hidden email]>
>> Hello,
>>
>> On the backend catalog application we have a link "Product Page"
>> button for navigating to the Product Detail page in Ecommerce
>> Component.
>> http://img714.imageshack.us/img714/9707/productpage.png
>>
>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>
>> The value for ecommerce component is hardcoded on the link.
>>
>> <link target="/ecommerce/control/product" url-mode="inter-app"
>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>    <parameter param-name="product_id" from-field="productId"/>
>> </link>
>>
>> So if we create custom application then this page redirect to the
>> ecommerce application, which is not correct IMO. If we talk about
>> single custom application then we can maintain a patch and can fix
>> this line of code.
>> But how should we handle the case when we have multiple custom
>> component and we may need to redirect to the custom ecommerce
>> component that doesn't have ecommerce as a mount point and that
>> contains this specific product that we are editing.
>>
>> How can we handle this scenario?
>> Do we have any settings in OFBiz that can be used to handle this case?
>>
>> Any help on this would be greatly appreciated.
>>
>> --
>> Ashish Vijaywargiya
>> http://www.saveourtigers.com/
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Bruno Busco
A long time ago I did report this here:
https://issues.apache.org/jira/browse/OFBIZ-1803

-Bruno

2010/2/13 BJ Freeman <[hidden email]>:

> Some I know use it as a preview.
> However as we move more to the cms oriented products data
> maybe need to think if there is a way to accomplish this with the CMS
> component.
>
>
>
> Jacques Le Roux sent the following on 2/13/2010 8:09 AM:
>> Do we really need this?
>>
>> Jacques
>>
>> From: "Ashish Vijaywargiya" <[hidden email]>
>>> Hello,
>>>
>>> On the backend catalog application we have a link "Product Page"
>>> button for navigating to the Product Detail page in Ecommerce
>>> Component.
>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>
>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>
>>> The value for ecommerce component is hardcoded on the link.
>>>
>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>    <parameter param-name="product_id" from-field="productId"/>
>>> </link>
>>>
>>> So if we create custom application then this page redirect to the
>>> ecommerce application, which is not correct IMO. If we talk about
>>> single custom application then we can maintain a patch and can fix
>>> this line of code.
>>> But how should we handle the case when we have multiple custom
>>> component and we may need to redirect to the custom ecommerce
>>> component that doesn't have ecommerce as a mount point and that
>>> contains this specific product that we are editing.
>>>
>>> How can we handle this scenario?
>>> Do we have any settings in OFBiz that can be used to handle this case?
>>>
>>> Any help on this would be greatly appreciated.
>>>
>>> --
>>> Ashish Vijaywargiya
>>> http://www.saveourtigers.com/
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Jacques Le Roux
Administrator
In reply to this post by Ruth Hoffman-2
Hi Ruth,

Yes, this functionnality

Jacques

From: "Ruth Hoffman" <[hidden email]>

> Hi Jacques:
> Need what? The original "Product Page" button?
> TIA
> Ruth
>
> Jacques Le Roux wrote:
>> Do we really need this?
>>
>> Jacques
>>
>> From: "Ashish Vijaywargiya" <[hidden email]>
>>> Hello,
>>>
>>> On the backend catalog application we have a link "Product Page"
>>> button for navigating to the Product Detail page in Ecommerce
>>> Component.
>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>
>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>
>>> The value for ecommerce component is hardcoded on the link.
>>>
>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>    <parameter param-name="product_id" from-field="productId"/>
>>> </link>
>>>
>>> So if we create custom application then this page redirect to the
>>> ecommerce application, which is not correct IMO. If we talk about
>>> single custom application then we can maintain a patch and can fix
>>> this line of code.
>>> But how should we handle the case when we have multiple custom
>>> component and we may need to redirect to the custom ecommerce
>>> component that doesn't have ecommerce as a mount point and that
>>> contains this specific product that we are editing.
>>>
>>> How can we handle this scenario?
>>> Do we have any settings in OFBiz that can be used to handle this case?
>>>
>>> Any help on this would be greatly appreciated.
>>>
>>> --
>>> Ashish Vijaywargiya
>>> http://www.saveourtigers.com/
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Ruth Hoffman-2
Hi Jacques:
It is really nice to be able to view the full product page as it should
be rendered in-situ.  What I mean is, the person who is entering in the
product information should have full visibility into how the product
will look on the website before it is published. Sort-of a "draft" view.
It's not a good idea to wait until the catalog gets published on the web
site to find problems with the display.

How that preview is accomplished - that is a different store. I would
expect that it shouldn't depend on the ecommerce store at all but rather
a template used to create the catalog/category totally independent of
the store.

Just my 2 cents.

Regards,
Ruth

Jacques Le Roux wrote:

> Hi Ruth,
>
> Yes, this functionnality
>
> Jacques
>
> From: "Ruth Hoffman" <[hidden email]>
>> Hi Jacques:
>> Need what? The original "Product Page" button?
>> TIA
>> Ruth
>>
>> Jacques Le Roux wrote:
>>> Do we really need this?
>>>
>>> Jacques
>>>
>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>> Hello,
>>>>
>>>> On the backend catalog application we have a link "Product Page"
>>>> button for navigating to the Product Detail page in Ecommerce
>>>> Component.
>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>
>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>
>>>> The value for ecommerce component is hardcoded on the link.
>>>>
>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>> </link>
>>>>
>>>> So if we create custom application then this page redirect to the
>>>> ecommerce application, which is not correct IMO. If we talk about
>>>> single custom application then we can maintain a patch and can fix
>>>> this line of code.
>>>> But how should we handle the case when we have multiple custom
>>>> component and we may need to redirect to the custom ecommerce
>>>> component that doesn't have ecommerce as a mount point and that
>>>> contains this specific product that we are editing.
>>>>
>>>> How can we handle this scenario?
>>>> Do we have any settings in OFBiz that can be used to handle this case?
>>>>
>>>> Any help on this would be greatly appreciated.
>>>>
>>>> --
>>>> Ashish Vijaywargiya
>>>> http://www.saveourtigers.com/
>>>>
>>>
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Jacques Le Roux
Administrator
Yes right, I see your point and the issue of course
We could be pragmatic also and simply C/P the URL or even better put it in bookmarks/favorite/etc. somewhere. That  could be enough
IMO, and then the issue removed.

Jacques

From: "Ruth Hoffman" <[hidden email]>

> Hi Jacques:
> It is really nice to be able to view the full product page as it should be rendered in-situ.  What I mean is, the person who is
> entering in the product information should have full visibility into how the product will look on the website before it is
> published. Sort-of a "draft" view. It's not a good idea to wait until the catalog gets published on the web site to find problems
> with the display.
>
> How that preview is accomplished - that is a different store. I would expect that it shouldn't depend on the ecommerce store at
> all but rather a template used to create the catalog/category totally independent of the store.
>
> Just my 2 cents.
>
> Regards,
> Ruth
>
> Jacques Le Roux wrote:
>> Hi Ruth,
>>
>> Yes, this functionnality
>>
>> Jacques
>>
>> From: "Ruth Hoffman" <[hidden email]>
>>> Hi Jacques:
>>> Need what? The original "Product Page" button?
>>> TIA
>>> Ruth
>>>
>>> Jacques Le Roux wrote:
>>>> Do we really need this?
>>>>
>>>> Jacques
>>>>
>>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>>> Hello,
>>>>>
>>>>> On the backend catalog application we have a link "Product Page"
>>>>> button for navigating to the Product Detail page in Ecommerce
>>>>> Component.
>>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>>
>>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>>
>>>>> The value for ecommerce component is hardcoded on the link.
>>>>>
>>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>>> </link>
>>>>>
>>>>> So if we create custom application then this page redirect to the
>>>>> ecommerce application, which is not correct IMO. If we talk about
>>>>> single custom application then we can maintain a patch and can fix
>>>>> this line of code.
>>>>> But how should we handle the case when we have multiple custom
>>>>> component and we may need to redirect to the custom ecommerce
>>>>> component that doesn't have ecommerce as a mount point and that
>>>>> contains this specific product that we are editing.
>>>>>
>>>>> How can we handle this scenario?
>>>>> Do we have any settings in OFBiz that can be used to handle this case?
>>>>>
>>>>> Any help on this would be greatly appreciated.
>>>>>
>>>>> --
>>>>> Ashish Vijaywargiya
>>>>> http://www.saveourtigers.com/
>>>>>
>>>>
>>>>
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

BJ Freeman
In reply to this post by Ruth Hoffman-2
how would one get the url to bookmark when in the catalog manager.
If you just added product and wanted to view the finished page.


Jacques Le Roux sent the following on 2/13/2010 11:15 AM:

> Yes right, I see your point and the issue of course
> We could be pragmatic also and simply C/P the URL or even better put it
> in bookmarks/favorite/etc. somewhere. That  could be enough IMO, and
> then the issue removed.
>
> Jacques
>
> From: "Ruth Hoffman" <[hidden email]>
>> Hi Jacques:
>> It is really nice to be able to view the full product page as it
>> should be rendered in-situ.  What I mean is, the person who is
>> entering in the product information should have full visibility into
>> how the product will look on the website before it is published.
>> Sort-of a "draft" view. It's not a good idea to wait until the catalog
>> gets published on the web site to find problems with the display.
>>
>> How that preview is accomplished - that is a different store. I would
>> expect that it shouldn't depend on the ecommerce store at all but
>> rather a template used to create the catalog/category totally
>> independent of the store.
>>
>> Just my 2 cents.
>>
>> Regards,
>> Ruth
>>
>> Jacques Le Roux wrote:
>>> Hi Ruth,
>>>
>>> Yes, this functionnality
>>>
>>> Jacques
>>>
>>> From: "Ruth Hoffman" <[hidden email]>
>>>> Hi Jacques:
>>>> Need what? The original "Product Page" button?
>>>> TIA
>>>> Ruth
>>>>
>>>> Jacques Le Roux wrote:
>>>>> Do we really need this?
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>>>> Hello,
>>>>>>
>>>>>> On the backend catalog application we have a link "Product Page"
>>>>>> button for navigating to the Product Detail page in Ecommerce
>>>>>> Component.
>>>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>>>
>>>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>>>
>>>>>> The value for ecommerce component is hardcoded on the link.
>>>>>>
>>>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>>>> </link>
>>>>>>
>>>>>> So if we create custom application then this page redirect to the
>>>>>> ecommerce application, which is not correct IMO. If we talk about
>>>>>> single custom application then we can maintain a patch and can fix
>>>>>> this line of code.
>>>>>> But how should we handle the case when we have multiple custom
>>>>>> component and we may need to redirect to the custom ecommerce
>>>>>> component that doesn't have ecommerce as a mount point and that
>>>>>> contains this specific product that we are editing.
>>>>>>
>>>>>> How can we handle this scenario?
>>>>>> Do we have any settings in OFBiz that can be used to handle this
>>>>>> case?
>>>>>>
>>>>>> Any help on this would be greatly appreciated.
>>>>>>
>>>>>> --
>>>>>> Ashish Vijaywargiya
>>>>>> http://www.saveourtigers.com/
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Jacques Le Roux
Administrator
The std URLs are like this one http://ofbiz-vm.apache.org/ecommerce/products/200/202/p_WG-9943

So when you know the category (sub if necessary, etc.) and the product Ids you know the URL

Jacques

From: "BJ Freeman" <[hidden email]>

> how would one get the url to bookmark when in the catalog manager.
> If you just added product and wanted to view the finished page.
>
>
> Jacques Le Roux sent the following on 2/13/2010 11:15 AM:
>> Yes right, I see your point and the issue of course
>> We could be pragmatic also and simply C/P the URL or even better put it
>> in bookmarks/favorite/etc. somewhere. That  could be enough IMO, and
>> then the issue removed.
>>
>> Jacques
>>
>> From: "Ruth Hoffman" <[hidden email]>
>>> Hi Jacques:
>>> It is really nice to be able to view the full product page as it
>>> should be rendered in-situ.  What I mean is, the person who is
>>> entering in the product information should have full visibility into
>>> how the product will look on the website before it is published.
>>> Sort-of a "draft" view. It's not a good idea to wait until the catalog
>>> gets published on the web site to find problems with the display.
>>>
>>> How that preview is accomplished - that is a different store. I would
>>> expect that it shouldn't depend on the ecommerce store at all but
>>> rather a template used to create the catalog/category totally
>>> independent of the store.
>>>
>>> Just my 2 cents.
>>>
>>> Regards,
>>> Ruth
>>>
>>> Jacques Le Roux wrote:
>>>> Hi Ruth,
>>>>
>>>> Yes, this functionnality
>>>>
>>>> Jacques
>>>>
>>>> From: "Ruth Hoffman" <[hidden email]>
>>>>> Hi Jacques:
>>>>> Need what? The original "Product Page" button?
>>>>> TIA
>>>>> Ruth
>>>>>
>>>>> Jacques Le Roux wrote:
>>>>>> Do we really need this?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>>>>> Hello,
>>>>>>>
>>>>>>> On the backend catalog application we have a link "Product Page"
>>>>>>> button for navigating to the Product Detail page in Ecommerce
>>>>>>> Component.
>>>>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>>>>
>>>>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>>>>
>>>>>>> The value for ecommerce component is hardcoded on the link.
>>>>>>>
>>>>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>>>>> </link>
>>>>>>>
>>>>>>> So if we create custom application then this page redirect to the
>>>>>>> ecommerce application, which is not correct IMO. If we talk about
>>>>>>> single custom application then we can maintain a patch and can fix
>>>>>>> this line of code.
>>>>>>> But how should we handle the case when we have multiple custom
>>>>>>> component and we may need to redirect to the custom ecommerce
>>>>>>> component that doesn't have ecommerce as a mount point and that
>>>>>>> contains this specific product that we are editing.
>>>>>>>
>>>>>>> How can we handle this scenario?
>>>>>>> Do we have any settings in OFBiz that can be used to handle this
>>>>>>> case?
>>>>>>>
>>>>>>> Any help on this would be greatly appreciated.
>>>>>>>
>>>>>>> --
>>>>>>> Ashish Vijaywargiya
>>>>>>> http://www.saveourtigers.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

BJ Freeman
In reply to this post by BJ Freeman
thats a lot of book marks for 10,000 to 100,000 products
plus trying to figure it out.

seems a link like we have would be the simplest for workers that only
knowledge is entering information for a product.

 many web store owners higher a group that only enters product info and
know minimal of the application.

I go under the rule to make the UI simple for the user not the developer.

Jacques Le Roux sent the following on 2/13/2010 2:14 PM:

> The std URLs are like this one
> http://ofbiz-vm.apache.org/ecommerce/products/200/202/p_WG-9943
>
> So when you know the category (sub if necessary, etc.) and the product
> Ids you know the URL
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> how would one get the url to bookmark when in the catalog manager.
>> If you just added product and wanted to view the finished page.
>>
>>
>> Jacques Le Roux sent the following on 2/13/2010 11:15 AM:
>>> Yes right, I see your point and the issue of course
>>> We could be pragmatic also and simply C/P the URL or even better put it
>>> in bookmarks/favorite/etc. somewhere. That  could be enough IMO, and
>>> then the issue removed.
>>>
>>> Jacques
>>>
>>> From: "Ruth Hoffman" <[hidden email]>
>>>> Hi Jacques:
>>>> It is really nice to be able to view the full product page as it
>>>> should be rendered in-situ.  What I mean is, the person who is
>>>> entering in the product information should have full visibility into
>>>> how the product will look on the website before it is published.
>>>> Sort-of a "draft" view. It's not a good idea to wait until the catalog
>>>> gets published on the web site to find problems with the display.
>>>>
>>>> How that preview is accomplished - that is a different store. I would
>>>> expect that it shouldn't depend on the ecommerce store at all but
>>>> rather a template used to create the catalog/category totally
>>>> independent of the store.
>>>>
>>>> Just my 2 cents.
>>>>
>>>> Regards,
>>>> Ruth
>>>>
>>>> Jacques Le Roux wrote:
>>>>> Hi Ruth,
>>>>>
>>>>> Yes, this functionnality
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Ruth Hoffman" <[hidden email]>
>>>>>> Hi Jacques:
>>>>>> Need what? The original "Product Page" button?
>>>>>> TIA
>>>>>> Ruth
>>>>>>
>>>>>> Jacques Le Roux wrote:
>>>>>>> Do we really need this?
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> On the backend catalog application we have a link "Product Page"
>>>>>>>> button for navigating to the Product Detail page in Ecommerce
>>>>>>>> Component.
>>>>>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>>>>>
>>>>>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>>>>>
>>>>>>>>
>>>>>>>> The value for ecommerce component is hardcoded on the link.
>>>>>>>>
>>>>>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>>>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>>>>>> </link>
>>>>>>>>
>>>>>>>> So if we create custom application then this page redirect to the
>>>>>>>> ecommerce application, which is not correct IMO. If we talk about
>>>>>>>> single custom application then we can maintain a patch and can fix
>>>>>>>> this line of code.
>>>>>>>> But how should we handle the case when we have multiple custom
>>>>>>>> component and we may need to redirect to the custom ecommerce
>>>>>>>> component that doesn't have ecommerce as a mount point and that
>>>>>>>> contains this specific product that we are editing.
>>>>>>>>
>>>>>>>> How can we handle this scenario?
>>>>>>>> Do we have any settings in OFBiz that can be used to handle this
>>>>>>>> case?
>>>>>>>>
>>>>>>>> Any help on this would be greatly appreciated.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Ashish Vijaywargiya
>>>>>>>> http://www.saveourtigers.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Jacques Le Roux
Administrator
From: "BJ Freeman" <[hidden email]>

> thats a lot of book marks for 10,000 to 100,000 products
> plus trying to figure it out.
>
> seems a link like we have would be the simplest for workers that only
> knowledge is entering information for a product.
>
> many web store owners higher a group that only enters product info and
> know minimal of the application.
>
> I go under the rule to make the UI simple for the user not the developer.

True, I was thinking they could tweak the URL as soon as they are aware (after all they have the information). It's all about
information, make me think of REST, which these URLs are really. But a button is certainly easier for a lambda user, I agree.

Jacques

> Jacques Le Roux sent the following on 2/13/2010 2:14 PM:
>> The std URLs are like this one
>> http://ofbiz-vm.apache.org/ecommerce/products/200/202/p_WG-9943
>>
>> So when you know the category (sub if necessary, etc.) and the product
>> Ids you know the URL
>>
>> Jacques
>>
>> From: "BJ Freeman" <[hidden email]>
>>> how would one get the url to bookmark when in the catalog manager.
>>> If you just added product and wanted to view the finished page.
>>>
>>>
>>> Jacques Le Roux sent the following on 2/13/2010 11:15 AM:
>>>> Yes right, I see your point and the issue of course
>>>> We could be pragmatic also and simply C/P the URL or even better put it
>>>> in bookmarks/favorite/etc. somewhere. That  could be enough IMO, and
>>>> then the issue removed.
>>>>
>>>> Jacques
>>>>
>>>> From: "Ruth Hoffman" <[hidden email]>
>>>>> Hi Jacques:
>>>>> It is really nice to be able to view the full product page as it
>>>>> should be rendered in-situ.  What I mean is, the person who is
>>>>> entering in the product information should have full visibility into
>>>>> how the product will look on the website before it is published.
>>>>> Sort-of a "draft" view. It's not a good idea to wait until the catalog
>>>>> gets published on the web site to find problems with the display.
>>>>>
>>>>> How that preview is accomplished - that is a different store. I would
>>>>> expect that it shouldn't depend on the ecommerce store at all but
>>>>> rather a template used to create the catalog/category totally
>>>>> independent of the store.
>>>>>
>>>>> Just my 2 cents.
>>>>>
>>>>> Regards,
>>>>> Ruth
>>>>>
>>>>> Jacques Le Roux wrote:
>>>>>> Hi Ruth,
>>>>>>
>>>>>> Yes, this functionnality
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Ruth Hoffman" <[hidden email]>
>>>>>>> Hi Jacques:
>>>>>>> Need what? The original "Product Page" button?
>>>>>>> TIA
>>>>>>> Ruth
>>>>>>>
>>>>>>> Jacques Le Roux wrote:
>>>>>>>> Do we really need this?
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Ashish Vijaywargiya" <[hidden email]>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> On the backend catalog application we have a link "Product Page"
>>>>>>>>> button for navigating to the Product Detail page in Ecommerce
>>>>>>>>> Component.
>>>>>>>>> http://img714.imageshack.us/img714/9707/productpage.png
>>>>>>>>>
>>>>>>>>> https://localhost:8443/catalog/control/EditProduct?productId=GZ-2644
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> The value for ecommerce component is hardcoded on the link.
>>>>>>>>>
>>>>>>>>> <link target="/ecommerce/control/product" url-mode="inter-app"
>>>>>>>>> text="${uiLabelMap.ProductProductPage}" style="buttontext">
>>>>>>>>>    <parameter param-name="product_id" from-field="productId"/>
>>>>>>>>> </link>
>>>>>>>>>
>>>>>>>>> So if we create custom application then this page redirect to the
>>>>>>>>> ecommerce application, which is not correct IMO. If we talk about
>>>>>>>>> single custom application then we can maintain a patch and can fix
>>>>>>>>> this line of code.
>>>>>>>>> But how should we handle the case when we have multiple custom
>>>>>>>>> component and we may need to redirect to the custom ecommerce
>>>>>>>>> component that doesn't have ecommerce as a mount point and that
>>>>>>>>> contains this specific product that we are editing.
>>>>>>>>>
>>>>>>>>> How can we handle this scenario?
>>>>>>>>> Do we have any settings in OFBiz that can be used to handle this
>>>>>>>>> case?
>>>>>>>>>
>>>>>>>>> Any help on this would be greatly appreciated.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Ashish Vijaywargiya
>>>>>>>>> http://www.saveourtigers.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Product Page redirects to Ecommerce component because value is hardcoded - what should be the case with Multiple Custom ecommerce component?

Bilgin Ibryam-2
In reply to this post by Ruth Hoffman-2
 
>
> How that preview is accomplished - that is a different store. I would
> expect that it shouldn't depend on the ecommerce store at all but
> rather a template used to create the catalog/category totally
> independent of the store.
I remember an old discussion where we agreed on copying some of the
product screens from ecommerce to order manager. I think the same should
be done here too ie a separate template for product preview in catalog
application.
I also like Bruno's idea about merging menus. It would be a nice
addition to product preview screen.

Bilgin