Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
  • Gender
  • Location

Recent Profile Visitors

6,690 profile views
  1. This module was incorporated into Bootstrap v2.3.4.1 CE. I'm just looking for a horizontal menu without the dropdown for one particular site. I know it seems to contradict what this module is about - but can I disable the dropdown element? My attempts haven't quite worked as they should. Or is there another horizontal menu module that works with Bootstrap, that doesn't have the dropdown element built in? many thanks
  2. So - to feed back. With help from Raiwa, I've achieved what I wanted. Static horizontal menu at top appears all the time. When you click on a category then a vertical sub-menu appears just showing the level in the category you're at. I created a new module for this, but you don't have to. You could just amend bm_categories.php and the template file (tpl_bm_categories.php). Changed the function execute() to: function execute() { global $oscTemplate, $cPath, $current_category_id; $OSCOM_CategoryTree = new category_tree(); $OSCOM_CategoryTree->setCategoryPath($cPath, '<strong>', '</strong>'); // sets cateogory tree to current level only $OSCOM_CategoryTree->setRootCategoryID((int)$current_category_id); $OSCOM_CategoryTree->setParentGroupString('<ul class="nav nav-pills nav-stacked">', '</ul>', true); // defined category title - to call in template bm_categories $category_title = $OSCOM_CategoryTree->getData($current_category_id, 'name'); $category_tree = $OSCOM_CategoryTree->getTree(); ob_start(); include('includes/modules/boxes/templates/tpl_' . basename(__FILE__)); $data = ob_get_clean(); $oscTemplate->addBlock($data, $this->group); } Then I amended the template file - to only show this when a category has been selected. <?php if (!empty($category_title)) {?><div class="panel panel-default bm-nav-categories"><div class="panel-heading"><?php echo MODULE_BOXES_CATEGORIES2_BOX_TITLE; ?> <?php echo $category_title; ?></div> <?php echo $category_tree;?></div><?php } else {return null;} ?> Of course styles etc may be different on others versions. But it seems to work, so might be helpful to others. Thanks for your help Raiwa!
  3. Thank you, that's perfect and really has saved me time on this. I just need to tinker with it a little now..
  4. Thank you, that was a really simple way to do it. So what I'm trying to bring in now: left navigation now shows only the current level we're at - selected using the method you've shown me global $oscTemplate, $cPath, $current_category_id; But in the header for the left menu, I wish it to say Category: "current category name". So I need to pull in the current category name there. So it can't be just getTree, it needs to be the selected category name. I'll be looking for the variable to put, but if you are able to help or push me in the right direction that will be great.
  5. Hello, I know this is an old thread, but I'm trying to achieve this kind of thing on the BS version. Category menu on left, that only shows the sub-categories of the selected category. Has anyone been successful in altering the code to show just sub-categories of selected category in BS?
  6. Still having trouble getting mine to exclude specials, but if it works on everyone else's I must have missed something. So will try and suss out what I've got that is different.
  7. Just replying to the test from Raiwa. I did copy those 2 files over and it did let me select Applies to Order sub-total and then select 'Exclude specials' BUT - the result, it didn't actually exclude the specials product I put in my cart along with others. Was I supposed to highlight anything? Here's my screenshot:
  8. Ok so its never really going to work for most people on selecting all products then. But then of course I can set it on Manufacturers with excluding specials selected. That way I still cover all my products and exclude specials. I've done this. Although when I highlighted all manufacturers, when it created the code - it only listed the first (this got me worried) but actually it does work on all manufacturers products, and excludes specials. Great - some way to get it working. All the calculations are now correct as well! thanks for your time in helping me suss this out and working out whats possible and limitations also. It would still be great to sub-total after the discount etc applied, so I'll watch out in case that gets added later by yourself Raiwa or Lambros. The old discount codes I was using pre BS was ot_discount_coupon_codes_3_34_osc2.3_1_2_3.
  9. 1) On the one hand - that's brilliant Tsimi. Its allowed me to get it to work excluding specials. Can I just suggest putting a tiny bit of text on that page to say - please highlight products from the below list that you want included. It wasn't obvious that these actually needed highlighting and that it wouldn't work with them just listed there. 2) Yes I've run into the problem that Raiwa has identified above. The site has 1200 products. Not huge, but its a working site. The list only let me select up to J!! So half my products were left off. Is there any way of uping the max. post size. Where is this defined? thanks again!
  10. Hello Tsimi. So now I'm getting confused. Under Catalog / Discount codes - Yes I can tick the box for 'excludes specials' when set on Applies to: Products or Categories or Manufacturers, and it will let me click the Save button, but on any of these 'Applies to' it will NOT create the discount code. I click on save and it does nothing. BUT when I select Applies to ' Order Sub-Total ' - it greys out the exclude specials option and when I click on the Save button this time it takes me back to the discount code list showing that a discount code has been created. My new discount code is now added to the list. It also works on Applies to 'Shipping'. But when any other Applies to are selected - then the code will not be created upon clicking on the save button. Is this the behaviour that you are expecting? 1) Are you, when on your site - able to choose select Products and then choose' exclude Specials' and click save and it actually creates that code successfully and adds it to you list? 2) Then does that code follow through and work and actually exclude the specials when you try it out in cart view? many thanks
  11. Thanks Raiwa, I'm trying to get the old module working in BS, as that did work correctly. I'm part way there, but need to iron out some other things. I'll watch this space also for when you're able to look at the new BS version. The adding up in the BS version is a problem (obviously has to be accurate) , and really it does need to show a sub-total 'after' the discount applied. At present it looks like tax is added on after everything else although its already been accounted for (see my image above), so for the sub-total to show the amount after tax and after discount applied will be much clearer to the customer. As it did in the older version. Yes I think it may take a while to iron out problems with this one but thank you for looking at it.
  12. Thanks Raiwa In: includes/modules/order_totals/ot_discount.php So the code in this is straight out of the box and I have of course uploaded it. So nothing I've done or not done to disrupt this.
  13. Hi Raiwa. I'm sorry to say I've found some more things not working quite as they should. I've included a screen shot. So firstly one of those items in the basket is a special, so shouldn't be included anyway. But the totaling is wrong. It should all total to £151.46 not £152.57. So something isn't quite working right. ??
  14. Just tried different option and actually it doesn't exclude discounted items (specials) when any Applies to option is selected. I've changed it back to the original code and the same. So something is going wrong if it is not excluding Specials. Where can I check the code for this?