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. 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.

×