Jump to content

glowball5000

Members
  • Content count

    2
  • Joined

  • Last visited

Everything posted by glowball5000

  1. Cool Contrib, Everything works. I have SEO URLs installed and I made the automatic redirect for mobile devices work by replacing in mobile/includes/classes/ mobile_redirect.php find the last function: function redirect() { $path = split("/" , $_SERVER['SCRIPT_NAME']); $filename = $path[sizeof($path)-1]; $file = $this->mobileDir . $filename; $qstring = $_SERVER['QUERY_STRING']; $SSL = ($_SERVER['HTTPS']) ? "SSL" : "NONSSL"; tep_redirect(tep_href_link($file, $qstring, $SSL, false, false)); } replace with: function redirect() { Header("Location: http://www.yoursite.com/mobile/"); exit(); } That worked for me. Some minor adjustments for google analytics and language files were necceccary. Plz let me know if this worked for You. ;)
  2. glowball5000

    Seperate Pricing Per Customer v3.5

    Hi Folks, Question: I have SPPC installed and Hide Products from customers on top. I have done it on the original RC2a shop and it works great. In my actual webshop though which is heavily modified I tried to include it several times checking all the files again and again. The problem is always the same: When I mark an Item invisible for retail customers, no other customer group can see it either (e.g. reseller) As far as I understood it the $customer_group_id ='2'; must be set for the item to be visible 1= retail 2= reseller If I set it manually in the index.php file the item shows up ----------------- around line: // BOF Separate Pricing Per Customer if(!tep_session_is_registered('customer_group_id')) { $customer_group_id = '1'; } else { $customer_group_id = $sppc_customer_group_id; } $customer_group_id ='2'; // her I set it to 2 manually // this will build the table with specials prices for the retail group or update it if needed // this function should have been added to includes/functions/database.php if ($customer_group_id == '0') { tep_db_check_age_specials_retail_table(); } $status_product_prices_table = false; $status_need_to_get_prices = false; -------------------- but that doesn´t help much, it must b e somwhere deeper in the code, because if i click "add to basket" the Item is not added. The right column shows the number of items excluding the invisible item, another hint that the prg doesn´t know abot the item batteries (1) - should be batteries (2) Everything in the admin section works, I can see that the database is updated ok with the $customer_group_id. I would be thankful for any hint. best regards Morton :)
×