Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 9 of 9

Thread: Duplicated Product...

  1. #1
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default Duplicated Product...

    Greetings All,

    I'm having an issue where a product is being displayed twice.
    The problem occurs both in an admin search & also on a category view.
    Here's what I mean :-
    http://www.3mselect.co.uk/c-327-optical-mice.aspx

    You'll see that the Ergonomic Wireless Optical Mouse -Laptop / PC - USB Small (ProductID 1769) is being displayed twice.

    That xmlpackage uses aspdnsf_GetProducts


    I turned the debug on & dumped the runtime.xml then imported it into excel.
    Here's a screengrab from excel :-



    The 3 rows I highlighted are all for the same product - also - ALL the other fields (not in screenshot) are identical from one row to the next - including GUID.

    All other products only have one row appearing each.

    It looks to me like I need to get rid of the rows that have an entry in the locale & name2 fields.

    Any idea which table that data is being pulled from so I can dig in & see what's happening?


    Many Thanks,

    BFG

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Were you importing products thru excel before? Are you sure that all fields have the same value including SKU + Product name? Did you happen to customize the import logic in the software or the like? This is my first time seeing this problem, so we need more details. We can't even replicate this with any of our stock copy. What version are you on?

  3. #3
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Hi Alfred,

    All products have been imported through excel.
    I'm using 7.1.0.0/7.1.0.0
    The import logic has not been modified.

    I'm not too concerned about the cause - it's only happened twice with over 1000 products - I'm more interested in finding out which table those fields are being pulled from in aspdnsf_GetProducts so I can (manually) fix it.


    TTFN

    BFG

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    They should be from Product and ProductVariant tables.

  5. #5
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    I don't have a field named locale in either of those tables......


    TTFN

    BFG

  6. #6
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Anyone able to offer any assistance here?

  7. #7
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    It's not actually a column/field but simply, an ML tag added to the Product and Product Variant Name columns. Like for instance:
    Product:
    Code:
    <ml><locale name="en-PH">Simple Product</locale><locale name="en-US">Simple Product</locale></ml>
    Product Variant:
    Code:
    <ml><locale name="en-PH">Simple Product Variant</locale><locale name="en-US">Simple Product Variant</locale></ml>

  8. #8
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Thanks Jao,

    So given the excel screengrab above - my current productvariant name field for that variant looks like this?


    <ml><locale name="3M">en-GB</locale><locale name="3M">en-US</locale></ml>

    How would the first 2 of the highlighted entries in the xml/excel have different distributorid's to the last one - all three entries are identical except for the fields you can see?


    TTFN

    BFG

  9. #9
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Anyone?


    TTFN

    BFG