Jump to content

De Dokta

  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by De Dokta

  1. Oh my god! If someone find my solution useful, use it! If not, not! If someone prefers GLWalkers great solution, use that! If not, not! If there's any other/better solution for that out there, pls share it with the community........ So what?!
  2. @@vampirehunter Yes, I have. Navbar with cat menu.zip No files are overwritten. If your user.css is empty, rename the file for_user.css to user.css, else copy the content to your user.css. I added an option to display the navbar cat menu in full view, collapsed view or both, selectable in admin. Personally I use it only in collapsed view. In full view I prefer the boxed nav menu with gadlols JS. J.J.
  3. @@vampirehunter Hi, no, if the left and/or right column is empty the main area automatically fills the empty space! Try it! Simply remove/deactivate in the admin all boxes in one column and see, what happens in the frontend: There's no empty space left! J.J.
  4. Hi, look here: http://forums.oscommerce.com/topic/392595-left-column-hidden-only-at-home-page/?p=1668915 If you want to hide only a column box on a certain page look into the box module e.g. bm_categories.php, find the function isEnabled and change it to something like that: function isEnabled() { global $PHP_SELF, $category_depth; if(($PHP_SELF == 'index.php') and ($category_depth == 'top')) { $this->enabled = false; }else{ return $this->enabled; } } You can add further conditions to the if statement, for example ... and !isset($_GET['manufacturers_id']) - what ever you want. J.J.
  5. De Dokta

    Guest Checkout options for v2.3.3 ?

    I'm sorry that the 2.3.4 version did not work for you. I tested it on a clean local 2.3.4 installation and everything seemed to be ok. But frankly, I do not want to invest too much time in standard Osc. For me the bootstrap osc is simply the better osc. It's responsive which means you can display your shop properly on desktop, tablet and smartphone. It's easy to configure. It's easier to install add-ons. It's easier to add stylings. And it looks better.... There are a lot of threads on BS. Look here: http://forums.oscommerce.com/forum/107-oscommerce-online-merchant-v24/ The easiest way to find out what it's all about, is to download the version and install on a PC under xampp. You find the latest version here: https://github.com/gburton/osCommerce-234-bootstrap. J.J.
  6. De Dokta

    Guest Checkout options for v2.3.3 ?

    Do you use bootstrap-gold? If not, this version of PWA is for bootstrap-gold only and can NOT be used with standard osc 2.3.4. If you use BS-gold, then there must be the Datepicker Jquery - installed or not! If you do not have bs-gold, but standard osc 2.3.4, you can use the previous package from 16 Oct 2014 which contains versions for both BS and default osc. J.J.
  7. Next try - fixes the 'invalid zone' bug: get_shipping_quotes.php shipping_in_cart.php
  8. @@Tsimi Hi Lambros The tax issue seems to have something to do with your configuration or any modification you made. I just installed this interstate.php and the 'shipping quote in cart' files into a fresh, clean bs-gold store. Tax calculation is correct! And yes, there is a bug with the first display of the zones pulldown. It makes me crazy! :x J.J.
  9. @@Tsimi Hi Lambros Ah, this module seems something special. In this case you must replace $default_zone_id by $default_zone_code. Try this: get_shipping_quotes.php shipping_in_cart.php I suppose that will work ONLY with this module. J.J.
  10. Ok, next try - with a zones pulldown for those countries for which states/zones are stored in the database. Since I use no shipping module, which works with zones, I would very much appreciate it if someone with such a module would test if it works correctly. Only for bootstrap! shipping_in_cart.php get_shipping_quotes.php J.J.
  11. @@Tsimi Hi Lambros I'm not sure if I exactly understand what you mean. Do you want to display in the pulldown that part that appears in checkout process after the name of the shipping module in brackets, e.g. Flat Rate (Best Way) ? If so, look in both files for: $quotes_array[] = array('id' => $quotes[$i]['id'].'_'.$quotes[$i]['methods'][$j]['id'], 'text' => $quotes[$i]['module']); and replace it by: $quotes_array[] = array('id' => $quotes[$i]['id'].'_'.$quotes[$i]['methods'][$j]['id'], 'text' => $quotes[$i]['methods'][$j]['title']); also look for (2x in each file) $title_shipping = $quotes[$i]['module']; and replace it with: $title_shipping = $quotes[$i]['methods'][$j]['title']; For your zones/states problem I have no quick answer. I never saw a shipping module which works on the basis of states (probably because something like that is not needed in Europe :D ) - so I don't know how they work. I suppose they use the entry_zone_id!? But it should be possible - for example as in create account - to add a logic that checks to see whether a country has zones, and if so, will open a second pulldown for states.........A lot of effort for such a gimmick! J.J.
  12. @@Tsimi Hi Lambros, my current version - not finished yet, because I just don't have the time, but I've already fixed some bugs .... get_shipping_quotes.php shipping_in_cart.php Better? J.J.
  13. De Dokta

    Modal Info Popup Layer for osc 2.3.4BS

    Hi, add to your user.css a new entry like this: @[member='media'] screen and (min-width: 768px) { body .modal-large { /* new custom width */ width: 750px; } } (or any other width you need) and in includes/modules/content/footer/templates/popup.php change <div class="modal-dialog"> to: <div class="modal-dialog modal-large"> J.J.
  14. Hi Since the product info with the product details, several modules, also purchased products, reviews, maybe options and so on for my taste has too many items and thus looks a bit cluttered and messy, I have tried to make the page with product tabs somewhat clearer. This is pretty easy to implement with the BS Tabs. The result looks like this for now: Live-demo: video-stuff.de/demo/bootstrap/liebfrauenmilch-p-29.html But what I still do not like is the positioning of the buy-buttons. I'm posting the whole thing here in the hope that someone has a brilliant idea for it. J.J.
  15. De Dokta

    AJAX Attribute Manager support

    This phenomenon appears, when you set in admin -> configuration -> sessions -> Force Cookie Use to true. Change Force Cookie Use to false! J.J.
  16. No, it's intended to display the tax rates in the products overview, if you have products with different rates in one order. If you want the display the tax for shipping separatly in the summary, you must change the order: - Sub-Total - Shipping - Tax - Total
  17. @@OSC-Sevilla This is not a bug, it's intended. It would be probably better, if in such a case in the header bar "tax rate" or similar would appear. :- If you want that in the summary "21% ES Tax" is displayed you must enter this text in Admin => Tax Rates into the description of the different tax rates. J.J.
  18. Purchase without account (PWA) for BS Gold Allows checkout without customer account. Addon: http://addons.oscommerce.com/info/9142 Support: http://forums.oscommerce.com/topic/398365-purchase-without-account-for-234-and-bs2334/?p=1714839
  19. New version for BS gold uploaded http://addons.oscommerce.com/info/9142. Only some cosmetic changes to adapt the addon to the style of BS gold. For standard Oscommerce 2.3.4 the previous package can be used. (ONLY 2.3.4.)
  20. De Dokta

    Invoice Editor 1.0

    Hi, to fix the error messages try this in admin/orders.php: case 'update_order': $oID = tep_db_prepare_input($_GET['oID']); $status = tep_db_prepare_input($_POST['status']); $comments = tep_db_prepare_input($_POST['comments']); $order_updated = false; $check_status_query = tep_db_query("select customers_name, customers_email_address, orders_status, date_purchased, pdf_invoice from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); $check_status = tep_db_fetch_array($check_status_query); if ( ($check_status['orders_status'] != $status) || tep_not_null($comments)) { tep_db_query("update " . TABLE_ORDERS . " set orders_status = '" . tep_db_input($status) . "', last_modified = now() where orders_id = '" . (int)$oID . "'"); $customer_notified = '0'; $invoice_sent = '0'; if (isset($_POST['notify']) && ($_POST['notify'] == 'on')) { $notify_comments = ''; if (isset($_POST['notify_comments']) && ($_POST['notify_comments'] == 'on')) { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n"; } $link = EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n"; $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . $link . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); if(tep_not_null($check_status['pdf_invoice']) && isset($_POST['notify_invoice']) && ($_POST['notify_invoice'] == 'on')) { $file = SAVE_FOLDER . $check_status['pdf_invoice']; $filename = $check_status['pdf_invoice']; $filetype = 'application/pdf'; $invoice_sent = '1'; tep_mail_pdf_attach($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $file, $filename, $filetype); }else{ tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } $customer_notified = '1'; } tep_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments, invoice_sent) values ('" . (int)$oID . "', '" . tep_db_input($status) . "', now(), '" . tep_db_input($customer_notified) . "', '" . tep_db_input($comments) . "', '" . tep_db_input($invoice_sent) . "')"); $order_updated = true; } And no, changes made in invoice editor are NOT stored in table 'orders' (and related tables). The tool is an INVOICE editor, not an ORDER editor. In the install.txt is clearly stated: "In contrast to the Order Editor, the tool does not affect the table 'orders' (and related tables), since it works with temporary copies of the original order." If you want to change orders, use the order editor! J.J.
  21. Support Thread for the Cancellation form for 2.3.4 and bootstrap-gold Download: http://addons.oscommerce.com/info/9136 Provides a cancellation form that meets the requirements of the EU Directive 2014 on consumer rights. Includes an automatically generated confirmation email to the consumer and an email notification to the shop owner and a print form function. Registered customers can easily select from a pull-down menu that lists all orders of the last 30 days, the order for which they wish to exercise their right of cancellation. To prevent abuse, the sending of the cancellation form in the Action Recorder is recorded. Versions for Osc 2.3.4 and bootstrap-gold available. Please report any problems here. J.J.
  22. @@Gergely Thanks for the suggestion. I should really take the attributes into the product list. I'll do that! J.J.
  23. Cancellation form Cancellation form that meets the requirements of the EU Directive 2014 on consumer rights. Addon: http://addons.oscommerce.com/info/9136 Support: http://forums.oscommerce.com/topic/399775-cancellation-form-for-234-and-bootstrap-gold/#entry1713975
  24. De Dokta

    Invoice Editor 1.0

    pffffffffffffff - a lot of questions......... 1) yes! 2) invoice.sql has the same content as invoice_en.sql, but in German! 3) Look into your DB. If the column orders_date_finished is empty or NULL, then must must do nothing. If it contains any dates do as is described in the install.txt. 4) Did you create a pdf invoice? If yes, is it stored in the folder testshop/admin/invoices/? If yes, can you open it (e.g. button View Invoice)? 5) Use the $order_query from SPPC and simply add to the query the two entries num_invoice and pdf_invoice which are needed for the invoice editor. J.J.