Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Related products problem, auto disable

$
0
0
Hi Deve Hi try this work around, tell me if you are agree with me

Hi update the store procedure NEvoweb_NB_Store_ProductRelated_Update
...
        end

    ---------------------------------------------------------
        if @BiDirectional = 0
        begin
        -- Bi-Directional Relation Disable, so Disable the other side

            if exists (select RelatedID from dbo.[NB_Store_ProductRelated] 
            where PortalID = @PortalID
....
with
...
        end

    ---------------------------------------------------------
        if @BiDirectional = 0 AND @Disabled = 0
        begin
        -- Bi-Directional Relation Disable, so Disable the other side

            if exists (select RelatedID from dbo.[NB_Store_ProductRelated] 
            where PortalID = @PortalID
...
for me this solve the problem.... tel me if you think the same
Fabio

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>