Thread: DUAL Pricing v2

Page 36 of 151 FirstFirst ... 2634353637384686136 ... LastLast
Results 351 to 360 of 1503
  1. #351
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Edit: It's ok sorry, I found the solution.

    1) Open up admin/includes/modules/product/collect_info.php and if you have the FCKeditor install files at hand, open the same file from those folders too.

    2) Look at lines 402 - 423 (pretty much <tr> to </tr>) and copy the text from the fckeditor file to the current file.

    3) Should be sorted!

    There was already FCKeditor code there, but I assume the Dual Pricing creators haven't updated the code according to FCK's latest version.

  2. #352
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Hi again! 3rd post in like an hour.

    My problem with FCKeditor was sorted, but now I get one with easypopulate :

    Fatal error: Call to a member function query() on a non-object in htdocs\admin\includes\functions\extra_functions\easypopulate_functions.php on line 421

    Which has only started appearing after installing this module.

    Your help would be great.

    Thanks!

  3. #353
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by thomasharding View Post
    My problem with FCKeditor was sorted, but now I get one with easypopulate
    Thanks!
    There is a new file for easy populate included in the packaging for this file. i know several others are using the two together and it should work.

    As far as avoiding these problems in the first place I'd look into using WinMerge to merge files that are edited by modules so as to avoid writing over important code from one with another.

    Cheers,

  4. #354
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: DUAL Pricing version 2

    Via, PM

    Everything works fine after i installed. But I have an enquiry that is when WS customer logged in, can they view the Wholesale Price only instead of showing both Retail and Wholesale price?
    There are two different options.

    1) If you still want the labeling or the change in labeling (ie "Retail Price" or "Whole Sale Price" depending on customers login level). note out the modified parts of tpl_product_info_display.php between the two notes on lines 70-76.

    2) If you don't care about the labeling and just want the change in price. Just don't upload the tpl_product_info_display.php file. The price will change without any more issue.

    Cheers,

  5. #355
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: DUAL Pricing version 2

    Hello everybody,

    I just uploaded V1.5 this is a simple upgrade but is in response to trying to decrease server load on a site. This will cut down significantly on the amount of Database queries that take place while a logged in customer browses a site using this module. I'd recommend upgrading to this to increase overall site performance. Next look for "send email" compatibility to all or different levels of WS customers.

    Cheers,

  6. #356
    Join Date
    Oct 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    I think that this mod is great, but maybe i'm not great enough for it.
    I've installed it, i can see the right prices (retail and wholesale) in the catalogue but when I add the product to my cart, it ever shows the retail price, even if i'm a wholesaler.
    Can anybody help me, please?
    thank you

    Ligrex


    P.S.
    I'sorry for my bad english, I hope you can understand me!!!

  7. #357
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by ligrex View Post
    I've installed it, i can see the right prices (retail and wholesale) in the catalogue but when I add the product to my cart, it ever shows the retail price, even if i'm a wholesaler.
    Ligrex, What version of ZC are you running? What version of the module are you running? Do you have any other modules that affect the shopping cart pages?

    Cheers,

  8. #358
    Join Date
    Oct 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Thank you for your attention.
    I use
    Zen Cart 1.3.8a
    dual_pricing_1.5
    and... i really can't understand... but at the moment it seems to work great...
    I think that the problem was with the session variables....
    I shut down the browser, restart the pc... and the day after it started to work...

    Thank you so much the same...
    And best regards for your job!!!

    (i'm afraid my english is getting worse....)


    By,
    ligrex

  9. #359
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: DUAL Pricing version 2

    I'm glad you got everything working out... Mystery problems are always best when easily solved, with mystery solutions.

    Cheers,

    P.S. don't worry about the English, if I cared I wouldn't be excited to work in a global community. And I'm sure I'm far worse at your native language.

  10. #360
    Join Date
    Sep 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Hi There:

    Thanks a million for this contribution... what a lifesaver.

    I was wondering if you can tell me what I might be doing wrong. For some reason, I cannot seem to get the text to change depending on if the person logged in has a wholesale account or not.

    I would like it to read "WholeSale Price" or "Retail Price" as it should be doing, but no matter what I do, it always reads Retail Price. I took a look at the code in tpl_product_info_display.php in the templates directory and it should work, but doesn't.

    Here is the code from my template file:

    PHP Code:
    //*********************************************************************************
    //***Properly display price labeling when set to Whole sale and when not
    //*********************************************************************************
    if ($_SESSION['customers_whole'] && $_SESSION['customers_whole'] != '0' ) {
      echo  
    '<span id="whole">WholeSale Price: ';
      } else {
      echo 
    '<span id="retail">Retail Price: ';
      } 
      echo 
    $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE '') . zen_get_products_display_price((int)$_GET['products_id']);
      echo 
    '</span>';
    //*********************************************************************************
    //***END Properly display price labeling when set to Whole sale and when not
    //********************************************************************************* 

    I checked my database and there is an entry for "customers_whole" in the zen_customers table. Originally the file was marked "customer_whole", note the lack of the 's'. So I made the modification here. But it still doesn't work. Perhaps I don't understand how the $SESSION widget works to troubleshoot further.

    Can you point me in a place to check?

    Thanks,

    Ed

 

 

Similar Threads

  1. Dual Pricing - Wholesale Pricing - Some issues I was able to fix
    By hollettster in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 Dec 2010, 12:00 AM
  2. Dual Pricing - Wholesale Pricing for Zen 1.3.7 works with Easypopulate
    By micheloo in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 20 Jan 2010, 06:01 PM
  3. No Attributes after installing Dual Pricing - Wholsale Pricing
    By drybsmt in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Sep 2009, 11:09 AM
  4. Quantity Discounts and Dual Pricing - Wholesale Pricing
    By snarkys in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 2 Jul 2007, 06:47 PM
  5. Dual Pricing Module & Dual Tax Classes
    By WILL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 25 May 2007, 10:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR