[jira] Created: (OFBIZ-151) Associated Products are assumed

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

[jira] Created: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
Associated Products are assumed
--------------------------------

                 Key: OFBIZ-151
                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: product
         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
            Reporter: Tim Ruppert


Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.

Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.

This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12427528 ]
           
Tim Ruppert commented on OFBIZ-151:
-----------------------------------

I can provide a temporary patch which will solve the problem for everyone - and truthfully - at the moment I can't think of anything else that will fix it since the ProductAssociation is associating products - not categories.

Therefore there can be no context on where these other products might live.  We could always look up the categories that these products come from and just pick one of the potentially valid categories, but is that better than taking them to a product page without an active category?

Any good ideas will be helpful on this one.  My existing fix looks like this:

1. Add associatedproductsummary to Catalog.xml (start with a copy of productsummary)
2. Add a field 'associatedproductsummaryScreen to the productdetail definition - point at #1
3. In the productdetail - change the screen name that's rendered inside the 'associated-products' div
4. in associatedproductsummary.ftl, remove the ~category=${categoryId}


> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12427539 ]
           
Tim Ruppert commented on OFBIZ-151:
-----------------------------------

I apologize for not finishing my thought on the Subject 'Associated Products are assumed' - it was meant to say 'Associated Products are assumed to be in the same Category'.  If anyone knows how to change this - please feel free.

> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12452161 ]
           
Scott Gray commented on OFBIZ-151:
----------------------------------

Hi Tim

I tried this from svn and I didn't get any errors, here are my steps:
From main page click on Giant Widget featured product
Click on Big Gizmo in cross sell section

Regards
Scott


> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12458272 ]
           
Jacques Le Roux commented on OFBIZ-151:
---------------------------------------

Tim,

May we close this issue ?

> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12458279 ]
           
Tim Ruppert commented on OFBIZ-151:
-----------------------------------

Jacques, let me look back into this and see if it works for me.  It may be a strange setting that I have with my products.

> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-151?page=comments#action_12458303 ]
           
Tim Ruppert commented on OFBIZ-151:
-----------------------------------

I found the bug - and not to surprisingly - the bug is actually in my front end code.  Scott, thanks for looking into this.  

Jacques, feel free to close this one.

Here's the subtlety that I ran into when creating the product detail screen.  Notice when you click from the Giant Widget product to the Big Gizmo cross sell, that the link to the category goes away as well as the Prev and Next buttons.  On my design, the Category name is a bit more prevalent in the design and I missed the conditional nature of it.

> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-151) Associated Products are assumed

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-151?page=all ]

David E. Jones closed OFBIZ-151.
--------------------------------

    Fix Version/s: SVN trunk
       Resolution: Cannot Reproduce
         Assignee: David E. Jones

Thanks for letting us know Tim.

> Associated Products are assumed
> -------------------------------
>
>                 Key: OFBIZ-151
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-151
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>         Environment: Fedora Core 5, Java 1.5.0_06, ofbiz version 429794
>            Reporter: Tim Ruppert
>         Assigned To: David E. Jones
>             Fix For: SVN trunk
>
>
> Associted products are rendered using the productsummaryScreen - which is normally fine.  I found something strange when my products starting showing up in multiple categories.
> Picture Products A, B, & C which are all in the Coat Category.  So, you associate these as product_complements and when you're in the Coat Category the URLs to the Suggested Products look something like /ecommerce/control/crosssell/~category=100/~product_id=10000 - (let's say this is to Product C).   Let's say that  A has the associated products B & C, and the like for each of the others.
> This is awesome, but what happens when you place A & B on special and they show up on your main page?  Well, then the detail page looks the same except the URLs look like this /ecommerce/control/crosssell/~category=SPECIALS/~product_id=10000 .  This is a problem because C is not actually in the SPECIALS - and causes an error.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira