How do i change the 'upselling' query

1

Hello i am digging in the queries
They all seem to be gathered in 'models'
But when i change the 'upselling' query i can't see any results of that change ?

i changed the query in shoptypeupsellingmodel and in shopproductrelatedmodel


but there seems sowhere in the script a selection that overrules 'upselling' query
since he keeps showing the query with 'the same price tags' rather than 'the same 'cloud tags' ?

any ideas where that query sits ?

Posted: November 28, 2014

1 answer

  • 1
    Perepelkin Anton November 28, 2014 17:30 #

    I would not recommend modifying original source code, it' bad practice. A better way is to write a plugin or a helper:
    http://www.webasyst.com/developers/docs/shop-plugin-tutorial/
    http://www.webasyst.com/developers/docs/helpers/custom-helpers/


Add answer

To add a comment please sign up or login