Remove "You Might Also Interested" Items From Cart

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

Remove "You Might Also Interested" Items From Cart

BrettS
Hi,

Can anyone tell me how to remove the list of "You Might Also Interested:" items in the /ecommerce/control/modifycart page please?

I could just comment out the code in showcart.ftl. However, I presume there is a better way.

Thank you

Regards

Brett S
Reply | Threaded
Open this post in threaded view
|

Re: Remove "You Might Also Interested" Items From Cart

Chirag Manocha-3
These are actually associated products to the product you are looking at.
The association is in ProductAssoc entity and association type are PRODUCT_UPGRADE , PRODUCT_COMPLEMENT

You can remove the association and there is a check in ftl that the part will only appears
<#if associatedProducts?has_content>

Regards
--
Chirag Manocha
Emforium Pvt. Ltd.
Contact :- +91-98735-47457, +91-98263-19099

----- "BrettS" <[hidden email]> wrote:

> From: "BrettS" <[hidden email]>
> To: [hidden email]
> Sent: Friday, 14 May, 2010 10:11:40 AM
> Subject: Remove "You Might Also Interested" Items From Cart
>
> Hi,
>
> Can anyone tell me how to remove the list of "You Might Also
> Interested:"
> items in the /ecommerce/control/modifycart page please?
>
> I could just comment out the code in showcart.ftl. However, I presume
> there
> is a better way.
>
> Thank you
>
> Regards
>
> Brett S
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Remove-You-Might-Also-Interested-Items-From-Cart-tp2216100p2216100.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Remove "You Might Also Interested" Items From Cart

luoxv
Thanks

--------------------------------------------------
From: "Chirag Manocha" <[hidden email]>
Sent: Friday, May 14, 2010 2:18 PM
To: <[hidden email]>
Subject: Re: Remove "You Might Also Interested" Items From Cart

> These are actually associated products to the product you are looking at.
> The association is in ProductAssoc entity and association type are PRODUCT_UPGRADE , PRODUCT_COMPLEMENT
>
> You can remove the association and there is a check in ftl that the part will only appears
> <#if associatedProducts?has_content>
>
> Regards
> --
> Chirag Manocha
> Emforium Pvt. Ltd.
> Contact :- +91-98735-47457, +91-98263-19099
>
> ----- "BrettS" <[hidden email]> wrote:
>
>> From: "BrettS" <[hidden email]>
>> To: [hidden email]
>> Sent: Friday, 14 May, 2010 10:11:40 AM
>> Subject: Remove "You Might Also Interested" Items From Cart
>>
>> Hi,
>>
>> Can anyone tell me how to remove the list of "You Might Also
>> Interested:"
>> items in the /ecommerce/control/modifycart page please?
>>
>> I could just comment out the code in showcart.ftl. However, I presume
>> there
>> is a better way.
>>
>> Thank you
>>
>> Regards
>>
>> Brett S
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Remove-You-Might-Also-Interested-Items-From-Cart-tp2216100p2216100.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Remove "You Might Also Interested" Items From Cart

BrettS
In reply to this post by Chirag Manocha-3
Hi Chirag,

Thanks for your reply. I tried removing product associating using this SQL:

delete from product_assoc  where product_assoc_type_id in ('PRODUCT_UPGRADE', 'PRODUCT_COMPLEMENT');

However, there are still  are still items appearing under "You Might Also Interested:"

Any other suggestions?

Thank you.

Regards

Brett Sheeran
Reply | Threaded
Open this post in threaded view
|

Re: Remove "You Might Also Interested" Items From Cart

Shubham Dubey
Hi Bretts

Check into DB if they are actually removed.
Also check if any other type association exists like
"PRODUCT_COMPONENT", "PRODUCT_VARIANT" etc.


Thanks
Shubham Dubey

BrettS wrote:

> Hi Chirag,
>
> Thanks for your reply. I tried removing product associating using this SQL:
>
> delete from product_assoc  where product_assoc_type_id in
> ('PRODUCT_UPGRADE', 'PRODUCT_COMPLEMENT');
>
> However, there are still  are still items appearing under "You Might Also
> Interested:"
>
> Any other suggestions?
>
> Thank you.
>
> Regards
>
> Brett Sheeran
>