Welcome Guest, Not a member yet? Register   Sign In
Best Practices HMVC?
#5

ok, but you are saying it is ok to replace modules::run with call a library from my product list view?
Sorry I am being thick, still stuck in HMVC mode. Smile

Here is my code. in view.
loop through product results
show sku
show price
show qty in stock
...
modules::run('cart/show_add_to_cart_box', qty in stock)
Reply


Messages In This Thread
Best Practices HMVC? - by frocco - 04-22-2015, 05:33 AM
RE: Best Practices HMVC? - by kilishan - 04-22-2015, 06:34 AM
RE: Best Practices HMVC? - by frocco - 04-22-2015, 06:45 AM
RE: Best Practices HMVC? - by kilishan - 04-22-2015, 07:07 AM
RE: Best Practices HMVC? - by frocco - 04-22-2015, 07:15 AM
RE: Best Practices HMVC? - by kilishan - 04-22-2015, 07:24 AM
RE: Best Practices HMVC? - by frocco - 04-22-2015, 07:41 AM
RE: Best Practices HMVC? - by kilishan - 04-22-2015, 07:44 AM
RE: Best Practices HMVC? - by frocco - 04-22-2015, 08:37 AM
RE: Best Practices HMVC? - by kilishan - 04-22-2015, 09:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB