Jump to content

thadson

Members
  • Content count

    42
  • Joined

  • Last visited

Profile Information

  • Real Name
    Attila Toth

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. thadson

    Nivo Slider Content Module (Bootstrap)

    Hi Ce7, I'm not an expert by any means. so please take my advice with a grain of salt. I believe (and in my experience), after you have installed the slider module, you next have to set up your banners in the Tools -> Banner Manager section. I have included an image with a short explanation. After you have set up your banners, you go back to the slider manager in either Tools or Catalog and set up the slider for the footer or header (or any other part of your site) using the appropriately named directory as the source of the slider banner images, ie: footerslider Please anyone, jump in and correct me, if I'm wrong. Thanks.
  2. thadson

    Separate Pricing Per Customer for Edge

    thank you I appriciate your help
  3. thadson

    SPPC - for 2.3.4

    Hello, I have been using the original SPPC add on for a long time in my shopping cart, However, now that I'm trying to move to Bootstrap Edge, It seems really difficult to implement it, since I don't want to lose my original shopping cart data. The latest version I could find is the BOOTSTRAP - SPPC 2.3.4 BS GOLD - v1.1b (not for edge) and I have run into some problems with the implementation. I can see how reset($this->contents); while (list($products_id, ) = each($this->contents)) { become foreach(array_keys($this->contents) as $products_id) { So I left those alone. However how to implement this (I assume) older code reset($this->contents[$products_id]['attributes']); $where = " AND (("; while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $where .= "options_id = '" . (int)$option . "' AND options_values_id = '" . (int)$value . "') OR ("; } $where=substr($where, 0, -5) . ')'; $attribute_price_query = tep_db_query("SELECT products_attributes_id, options_values_price, price_prefix FROM " . TABLE_PRODUCTS_ATTRIBUTES . " WHERE products_id = '" . (int)$products_id . "'" . $where .""); into this: foreach($this->contents[$products_id]['attributes'] as $option => $value) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$prid . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); with those extra $where = statements baffle me. Can someone help please. Thank you, Thadson
  4. thadson

    Separate Pricing Per Customer for Edge

    I guess, I have over explained myself. I'm sorry. Above quote was the main question. sorry again. Also thank you for pointing out the link for the other addon.
  5. thadson

    Separate Pricing Per Customer for Edge

    Hello Raiwa, I have been using the original SPPC add on for a long time in my shopping cart, However, now that I'm trying to move to Bootstrap Edge, It seems really difficult to implement it, since I don't want to lose my original shopping cart data. Unfortunately the only version I can find is the BOOTSTRAP - SPPC 2.3.4 BS GOLD - v1.1b and I have run into some problems with the implementation. Would I be able to have my original (non bootstrap) data functioning with Wholesale (SPPC lite)? I can see how reset($this->contents); while (list($products_id, ) = each($this->contents)) { become foreach(array_keys($this->contents) as $products_id) { So I left those alone. However how to implement this older code reset($this->contents[$products_id]['attributes']); $where = " AND (("; while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $where .= "options_id = '" . (int)$option . "' AND options_values_id = '" . (int)$value . "') OR ("; } $where=substr($where, 0, -5) . ')'; $attribute_price_query = tep_db_query("SELECT products_attributes_id, options_values_price, price_prefix FROM " . TABLE_PRODUCTS_ATTRIBUTES . " WHERE products_id = '" . (int)$products_id . "'" . $where .""); into this: foreach($this->contents[$products_id]['attributes'] as $option => $value) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$prid . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); with those extra $where = statements baffle me. Can you help please. Thank you, Thadson
  6. It seems that there were problems with both files. in the modules - shipping dir, I had to add a bunch of single quotation marks like $countries_table = constant(MODULE_SHIPPING_FIRSTPLUSZONES_ZONES_COUNTRIES_ . $i); to $countries_table = constant('MODULE_SHIPPING_FIRSTPLUSZONES_ZONES_COUNTRIES_' . $i); I also had to change the definition of MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY from define('MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY', '(£%s first item, £%s each additional item)'); to define('MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY', '($%s first item, $%s each additional item)'); Now it seems to work... Thank you again for all your help, I appreciate it.
  7. the site in question is http://erikoart.com/shop/ thank you for the tip
  8. You are right on the money. I have realized that I added a new shipping module and that is the one causing the problem. For a particular reason, I need to set up my shipping as First item is $X, every additional item is $Y, ie first item is $9 and every additional items are $1, so 2 items are $10, 3 items are $11, etc... I used the add-on from here https://apps.oscommerce.com/MT4Ib&first-item-x-additional-items-y-shipp and following mhsuffolk's advice I changed the function firstpluszones() { in firstpluszones.php on line 19 to function __construct() { it seems this is a start, but not enough, and it breaks the shipping module in various ways, like blank screen or logging out. I have attached the original old file and the one modified by me and the language file what am I missing? includes_languages_english_modules_shipping-firstpluszones.php includes_modules_shipping-firstpluszones.php includes_modules_shipping-firstpluszones.php_orig
  9. Hi mhsuffolk,

    Could you help me please

    Would you be so kind to update First Item $X, Additional Items $Y Shipp  for Bootsrap Edge, for PHP 7.1, please?

    Or alternatively can you suggest something else that would do the same job?

    Thank you,

    Thadson

     

     

     

    1. mhsuffolk

      mhsuffolk

      Hi, I don't use this now but this should work.

      Find in firstpluszones.php on line 19

          function firstpluszones() {

      Replace with

          function __construct() {

      Let me know if it works please.

      Martin

    2. thadson

      thadson

      It seems that there were problems with both files.

      in the modules - shipping dir, I had to add a bunch of  single quotation marks like

      $countries_table = constant(MODULE_SHIPPING_FIRSTPLUSZONES_ZONES_COUNTRIES_ . $i);

      to

      $countries_table = constant('MODULE_SHIPPING_FIRSTPLUSZONES_ZONES_COUNTRIES_' . $i);

      I also had to change the definition of MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY from

      define('MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY', '(£%s first item, £%s each additional item)');

      to

      define('MODULE_SHIPPING_FIRSTPLUSZONES_TEXT_WAY', '($%s first item, $%s each additional item)');

      Now it seems to work...

      Thank you again for all your help, I appreciate it.

  10. thank you All for the help. I have reinstalled everything, from scratch: new db, new folder, new Edge, and the problem went away, no clue what it could have been... sorry if I have wasted your time, but I couldn't imagine I had to apply such drastic measures Thank you very much again.
  11. I haven't changed anything in those files. I'm thinking that I do a fresh install again and test, then move onto filling in the catalogue in a new unit of time... let's see what happens :-)
  12. I have switched my php versions between 7.0, 7.1 and 7.2, but still logs out on all
  13. thank you for trying to help Jack_mcs tried that, still logging out
  14. tried firefox, opera, crome and edge, all same result
×