Re: DUAL Pricing version 2
i don't think there are overrides for the admin section at all.
i've installed a whole lot of mods and custom code throughout my site, and i'm not looking forward to future upgrades, but with a decent folder/file comparison app you can at least go back and find everything you changed in the previous version. just a thought.
Re: DUAL Pricing version 2
Thanks, I now remember reading about that. Appreciate the response!
Tamara
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Tamara
The ReadMe.txt states "Making these changes WILL make upgrading your store to new versions harder."
Tamara, All modifications you make to the base Zen-Cart code will make upgrading harder as when you uprade you can't really just overwrite the old versions files with the new ones as you have customized the file. SlowAwake, is right. The best thing to do when upgrading and when adding more than one module that affect the same file is to use file comparing software. I recomend WinMerge which is free and easy to use.
Quote:
Originally Posted by
Tamara
Can I install this mod taking advantage of the override system as with customization files?
Quote:
Originally Posted by
slowawake
i don't think there are overrides for the admin section at all.
I would just use the file comparison software. I agreed with SlowAwake but just did a little test and it seems like there might be overrides for the admin section. I would say go ahead if you want.
Cheers,
Re: DUAL Pricing version 2
Quote:
Originally Posted by
madfastride
...The best thing to do when upgrading and when adding more than one module that affect the same file is to use file comparing software...
...I agreed with SlowAwake but just did a little test and it seems like there might be overrides for the admin section...
I suppose it couldn't hurt to try. I have solid backups of my site and database. I guess the worst that could happen is Zen Cart slaps me with a big :censored:. I'll do some more research on the admin/override issue and then give it a go. Who knows, maybe I'll get lucky.
Re: DUAL Pricing version 2
I've installed the Version: 1.3.2 on Zen Cart™ Version: v1.3.8. For the wholesale price I put 12.99-10.99-0-7.99, then assigned my account to level 4, but when I go to the site and log-in still I see the regular price which is 14.99, even though I am suppose to see 7.99. what is it that I am doing wrong?
Just a side note, is there anything else I have to do from the admin section besides putting the wholesale price and assigning a wholesale level to the user?
thank you.
Re: DUAL Pricing version 2
Quote:
Originally Posted by
trac_nez
I've installed the Version: 1.3.2 on Zen Cart™ Version: v1.3.8. For the wholesale price I put 12.99-10.99-0-7.99, then assigned my account to level 4, but when I go to the site and log-in still I see the regular price which is 14.99, even though I am suppose to see 7.99. what is it that I am doing wrong?
Please read this post as it might help you out. Also try using '0.00' instead of '0' I'd be surprised if this is what's breaking, but if it is I'll fix it in a future release.
Quote:
Originally Posted by
trac_nez
Just a side note, is there anything else I have to do from the admin section besides putting the wholesale price and assigning a wholesale level to the user?
No there is nothing else you need to do from the admin section. If your problem persists please give a few more details. Such as when you go to catalog > categories/products do you see the whole sale prices along with the retail price?
Re: DUAL Pricing version 2
Quote:
Originally Posted by
madfastride
Please read
this post as it might help you out. Also try using '0.00' instead of '0' I'd be surprised if this is what's breaking, but if it is I'll fix it in a future release.
No there is nothing else you need to do from the admin section. If your problem persists please give a few more details. Such as when you go to catalog > categories/products do you see the whole sale prices along with the retail price?
still not working... when I go to catalog > categories/products I do see the wholesale prices with the retail.
On thing I don't get is that what it said on the readme.txt file,
"you can see that you will have 4 levels of wholesale price available the 3rd level is 0 so customers set to level 3 will get the level 1 price.
In the attributes, you need to use comma separation eg
50.00,30.00,0.00,25,00
Attributes can be set in the same way."
What does this means?
Thank You.
Re: DUAL Pricing version 2
Quote:
Originally Posted by
trac_nez
"you can see that you will have 4 levels of wholesale price available the 3rd level is 0 so customers set to level 3 will get the level 1 price.
In the attributes, you need to use comma separation eg
50.00,30.00,0.00,25,00
Attributes can be set in the same way."
What does this means?
Thank You.
It means that if you set one of the WS values to 0, instead of giving away your product the price will default back to level one.
Quote:
Originally Posted by
trac_nez
still not working... when I go to catalog > categories/products I do see the wholesale prices with the retail.
This means that the prices are being entered correctly into your database. It's just not displaying correctly. Did you upload the includes/templates/YOUR TEMPLATE/tpl-product_display.php into the proper folder? Meaning did you change the "YOUR TEMPLATE" into the current template you are using.
Re: DUAL Pricing version 2
I received this via PM and thought I would share the solution just in case.
Quote:
Originally Posted by trudesign
I am wondering if I install it I will be able to have most customers see no pricing, and people that login that I give wholesale access to, can shop with wholesale pricing.
so everyone would see no pricing whatsoever unless I give them wholesale access.
note out lines 139, 143 of includes/functions/functions_prices.php. They are identical and look like the following.
PHP Code:
$products_price = $product_check->fields['products_price'];
Furthermore note the following lines (70-76) in includes/templates/YOUR TEMPLATE/tpl_product_info_display.php
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'] == "1") {
echo '<span>' . ' Retail Price: '.$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_retail_net_price((int)$_GET['products_id']).'</span><br /> ';
}
}
This should work. I haven't tested it. Please let everyone know if it does. It will not ever show the Retail Price but you will need to add some arbitrary number in there. There is a way to show a MSRP or such price in the Retail prices place and only show that to WS customers but it will get a lot more complicated.
Cheers,
Re: DUAL Pricing version 2
This is the thread that the Wholesale pricing mod says to go to for support, so please don't stomp on my fingers!
I own Easy Populate Pro, which is installed in a version of Zencart 1.38a. I just installed the wholesale pricing mod, and now Easy Populate is "burping". I get the following error when I tryt o open it in Admin:
Fatal error: Call to a member function on a non-object in /home/dbgoldsm/public_html/store/admin/includes/functions/extra_functions/easypopulate_functions.php on line 594
Any help for this clueless php ignorant soul appreciated!
thank you,
betty