Thread: DUAL Pricing v2

Results 1 to 10 of 1503

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Location
    Midwest USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Hi Madfastride and weezee,

    This explains what weezee did, he/she changed the actual text of the line to read "Retail" where it should have read "Whole Sale:"

    Code:
    echo '<span id="retailwhole">' . ' Retail Price:
    This is part of what confused me too... The module should have worked as is...

    Nice module by the way!

    Gary777

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

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by Gary777 View Post
    Hi Madfastride and weezee,

    Code:
    echo '<span id="retailwhole">' . ' Retail Price:
    This is part of what confused me too... The module should have worked as is...
    Okay I understand that... What I was trying to get across with the naming of the id was that it was going to be the Retail price displayed to a whole sale customer... I tried to keep it separate in case one wants to display and style the retail price for retail customer different that retail price for whole sale customer. Say...

    (Retail customer)
    Your Price: XXXX (id="retail")

    (Whole Sale customer)

    MSRP: XXX (id="retailwhole")
    Whole Sale Price: YYY (id="whole")

    Sorry for any confusion. I tried to explain it in the read me.

    Quote Originally Posted by Gary777 View Post
    Nice module by the way!
    I just picked up on this where some others who had done some hard work left off. But thanks for the little bit I did.
    Last edited by madfastride; 9 Oct 2008 at 05:33 AM.

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

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by ryanb4614 View Post
    Well I haven't added that file, and what happens is.... the price will change but it just won't say retail and whole sale. the price just shows at the wholesale price.... checkout and everything works so i assume it is safe to leave it at that.
    True Ryan, sorry I should have been more specific. The tpl_product_display.php file will not change any functionality in the Dual Pricing module. It will not display the way it was intended without the change. The module is supposed to display a retail price to retail customers and a retail and whole sale price to whole sale customers. But if you are happy with the functionality by all means keep the module as it is. Cheers,

  4. #4
    Join Date
    Oct 2008
    Location
    Midwest USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Hi Madfastride,

    I must not have been very clear in my post, I understood exactly why you did what you did, it was weezee's post and the double "retail price" listing in her code that threw me off, it should have worked.

    I hadn't taken a good look at the code at that point (as I mentioned) but was working on a similar task (that's how I found weezee's post) and saw that she hadn't received a response so tried to help as best I could. Your reply cleared everything up for me and hopefully weezee too.

    Thanks again,

    Gary777

  5. #5
    Join Date
    Aug 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Hi Everyone,

    This mod is just what we're looking for and is working like a dream.

    Could anyone tell me or help point me in the right direction so it will show the percentage diffrence in the two displayed prices?

    So it would display like:

    Retail Price: £xx.xx
    Wholesale Price: £xx.xx
    You Save: xx%

    Many many thanks in advance.

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

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by setter View Post
    Retail Price: £xx.xx
    Wholesale Price: £xx.xx
    You Save: xx%
    Setter,
    I'm glad you like the module. I'd like to add this to a release I'm working on. Along with a few other features, and customizations. But it keeps getting pushed back. You could rename a few variables and do the calculations in the tpl_display_product.php file. If you don't want to mess with it or nobody else has the code <wink>a little donation is going a long way with progressing this release and getting an early copy of the feature you donated for. </wink> PM me if you'd like.

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

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by Gary777 View Post
    Hi Madfastride,

    I must not have been very clear in my post, I understood exactly why you did what you did, it was weezee's post and the double "retail price" listing in her code that threw me off, it should have worked.
    Gary,

    Thanks for pointing me in the right direction there, I did not see it right away and might never have. I understood that you had found the answer and were just helping me out. The second post was just trying to clarify, and over explain for anyone else finding the same problem as I'm a firm believer in that for every person who asks a question here there are five more (well four now that you revealed yourself) with the same problem. It will probably also cause me to change the read me file a bit.

  8. #8
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    Mad,
    How would I write the if statement to add $5.00 to my shipping cost??

    My retail site has a flat rate of $5.00, but I charge my wholesale customers $10.00 for shipping!!!

    Thanks in advance... :)

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

    Default Re: DUAL Pricing version 2

    Quote Originally Posted by haredo View Post
    Mad,
    How would I write the if statement to add $5.00 to my shipping cost??

    My retail site has a flat rate of $5.00, but I charge my wholesale customers $10.00 for shipping!!!

    I don't really know the inner workings of the shipping cost calculations off the top of my head. And at the moment I am fortunate enough to be one of those with too much work :) So I can't really tell you where or exactly what to use. The following is the code you place anywhere to access WS only functions. This will be a good start to your project. Cheers,

    PHP Code:
    if ($_SESSION['customer_id']) { 
      
    $customers_id $_SESSION['customer_id']; 
        
    $customer_check $db->Execute("select * from " TABLE_CUSTOMERS " where customers_id = '$customers_id'"); 
     if (
    $customer_check->fields['customers_whole'] != "0") {  
         
    //your code 


     

    }  
    //note*** depending on where you use this you might have to change $db-> to $this-> 

  10. #10
    Join Date
    Apr 2008
    Location
    Ohio
    Posts
    22
    Plugin Contributions
    0

    Default Re: DUAL Pricing version 2

    OK I just encountered something very weird ... my wholesale pricing has stopped taking entries .. is there a ceiling on how many products a store can have as far as wholesale pricing goes?

    I can not change any current prices .. it will not change and if I insert a new product, it will take it and the retail price .. but wholesale now comes up 0

    Any idea's????

    I just checked my product count and it is 2915

 

 

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

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