Search found 8 matches

Page 1 of 1

Search found 8 matches

Order Entry Mod Bug Question

I need help fixing a small bug in a mod I’m developing and can’t figure out. In the product table, I have a field called fabric, acrylic, metal, and laminate. If creating/editing an order that has fabric for example, the order entry screen will offer the corresponding option. For example, if fabric ...

Jump to post
  • Fri Mar 16, 2018 2:53 am
  • Replies 2
  • Views 672
Re: Active Admin Menu Item on Direct Page Access

So my solution that seems to work is I had to add the following to a vqmod... <operation info="Set Active Menu Item"> <search position="before"><![CDATA[<script src="view/javascript/common.js" type="text/javascript"></script>]]></search> <add><![CDATA[ <script...

Jump to post
  • Wed Feb 07, 2018 1:59 am
  • Replies 6
  • Views 955
Re: Active Admin Menu Item on Direct Page Access

I have attached the common.js file that came with 3.0, please tell me what line that is on because I don't see it. The only thing I see that works with clicking the menu: sessionStorage.setItem('menu', $(location).attr('href')); It doesn't seem to work when you call the page directly without click a...

Jump to post
  • Wed Feb 07, 2018 1:44 am
  • Replies 6
  • Views 955
Re: Active Admin Menu Item on Direct Page Access

I guess I could use vqmod to add a line to the common.js
If you have a better way of doing please let me know.

Jump to post
  • Tue Feb 06, 2018 3:32 am
  • Replies 6
  • Views 955
Re: Active Admin Menu Item on Direct Page Access

I'm working with 3.0. Open Cart, as I remember, used to use: if (getURLVar('route') == 'your_path/your_controller_filename') { ... but now all I see is: $('#menu a[href]').on('click', function() { sessionStorage.setItem('menu', $(this).attr('href')); }); in common.js I'm calling up the pages directl...

Jump to post
  • Tue Feb 06, 2018 3:31 am
  • Replies 6
  • Views 955
Active Admin Menu Item on Direct Page Access

When I open a page in the admin directly, without clicking an item on the menu, the active menu item class doesn't update. After looking around I noticed that this is controlled through common.js Is there a way to update this based on the current page route? I'm writing a new module at the moment th...

Jump to post
  • Sat Feb 03, 2018 10:14 pm
  • Replies 6
  • Views 955
Add to Cart with Options for Different Product

Hi, I have a mod working that allows products as options, and if selected in the setup, can override the main product when added to the cart. This solves the problem of having for example a red, blue, and green item with different part numbers and inventory counts. It's working perfectly, the only t...

Jump to post
  • Sat Jul 30, 2016 7:11 am
  • Replies 0
  • Views 669

Page 1 of 1

Search found 8 matches