Zen Follower
- Join Date:
- Mar 2006
- Location:
- Los Angeles
- Posts:
- 260
- Plugin Contributions:
- 2
DUAL Pricing v2
*begs some more
I'm desperate! :)
Views: 363,290
Zen Follower
*begs some more
I'm desperate! :)
New Zenner
i think i might have found a way to get rid of the annoying invalid master category warning, stumbled upon it while trying to apply dual pricing to other product types. Before proceeding, please remember to back up:
in /admin/includes/modules/product/collect_info.php
1.find
if (zen_get_product_is_linked($_GET['pID']) == 'true') {
and replace with
if (zen_get_product_is_linked($_GET['pID']) == 'true' and $_GET['pID'] > 0) {
2.find
<tr>
<td class="main"><?php echo TEXT_MASTER_CATEGORIES_ID; ?></td>
<td class="main">
<?php
// echo zen_draw_pull_down_menu('products_tax_class_id', $tax_class_array, $pInfo->products_tax_class_id);
echo zen_image(DIR_WS_IMAGES . 'icon_yellow_on.gif', IMAGE_ICON_LINKED) . ' ';
echo zen_draw_pull_down_menu('master_category', zen_get_master_categories_pulldown($_GET['pID']), $pInfo->master_categories_id); ?>
</td>
</tr>
and insert immediately below
<?php } else { ?>
<tr>
<td class="main"><?php echo TEXT_MASTER_CATEGORIES_ID; ?></td>
<td class="main"><?php echo TEXT_INFO_ID . ($_GET['pID'] > 0 ? $pInfo->master_categories_id . ' ' . zen_get_category_name($pInfo->master_categories_id, $_SESSION['languages_id']) : $current_category_id . ' ' . zen_get_category_name($current_category_id, $_SESSION['languages_id'])); ?>
</tr>
<?php } ?>
3.around line 266 remove <?php } ?>
Zen Follower
I screwed up and tried to install the old dual pricing version and now i have some issues...
tried installing the new one over top but no luck same probs.
if you try to view any of my products it has:
an error:
Warning: main(includes/modules/pages/product_info/main_template_vars_images.php): failed to open stream: No such file or directory in /home/apbs77/public_html/includes/templates/apbs/templates/tpl_product_info_display.php on line 103
Warning: main(includes/modules/pages/product_info/main_template_vars_images.php): failed to open stream: No such file or directory in /home/apbs77/public_html/includes/templates/apbs/templates/tpl_product_info_display.php on line 103
Warning: main(includes/modules/pages/product_info/main_template_vars_images.php): failed to open stream: No such file or directory in /home/apbs77/public_html/includes/templates/apbs/templates/tpl_product_info_display.php on line 103
Fatal error: main(): Failed opening required 'includes/modules/pages/product_info/main_template_vars_images.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/apbs77/public_html/includes/templates/apbs/templates/tpl_product_info_display.php on line 103
I also noticed that all of my meta buttons are now missing?
Could someone please help me, i'll send you some paypal moneys for your help:
AIM: allpbsupplies
email: [email protected]
Zen Follower
Ok i got things back to sort of normal...but i am still able to enter wholesale pricing....i definitely am looking for this wholesale pricing mod.
New Zenner
I'm having an altogether different problem. Maybe someone can help.
Wholesale customers see the wholesale prices when logged in but when checking out the prices are retail. Where would I begin looking into this?
Thanks.
Zen Follower
what do you mean?
if they dont log in, then they are simply considered retail customers and they will see the prices everyone else sees.
a wholesale customer will only see wholesale prices when logged in.
New Zenner
Sorry to have been unclear. If a wholesale customer goes to checkout, the wholesale prices as shown in the listings revert back to retail prices when it tallies up the order.
If product A is 5.50 wholesale, 7 retail, it is displayed as 5.50 to the wholesale customer but when he's added what he wants to his basket and goes to checkout, the price is 7.
Thanks for the help!
Zen Follower
Well I thought this contrib was working very well. But today I went to tweak again my meta tags and found the orange or black buttons in admin / products missing. Hashing around the forum I see that this contrib may be the source of my problem.
http://www.zen-cart.com/forum/showthread.php?t=39866&highlight=meta+tags+buttons
Is everyone else having this result and did someone find a solution to this?
Zen Follower
yeah i screwed up and did that too....
you will also have issues with your attributes if you have the same issues i had.
Zen Follower
I am only assuming that Dual Pricing may be my meta tag problem. I had a successful install. Was you able to resolve it?
As far as attributes, I believe I got that one resolved, but maybe you could enlighten me as to what problems you had. It took me a long time to relize my meta tag buttons were missing. Maybe I have other issues I need to look for.
New Zenner
I had posted this question in the wrong category earlier, so I figured this would be the better place to ask?
I am currently using Miva Merchant 4.24, it was already set up when I started here, and we are pushing its limitations quite hard right now. I have been using ZC on my other sites. But there is a part of Miva that is set that would need to be brought over to ZC. Here is an example of our pricing setup.
Main Groups of Customers: Contractors, Dealers and Distributors
Sub Pricing Groups: Contractors 10% off, Contractors 30% off, Contractors 40% off
Dealers 10% off, Dealers 30% Off, Dealers 40% off,
Distr. 10% off, Distr. 30% off, Distr. 40$off
The percent off is for the products in the sub category.
Product A is 10% off for contractors
Product B is 30% off for contractors
Product C is 40% off for contractors
I hope this makes some since. Can ZC do this with Dual Price?
New Zenner
Where can I find the Dual Priceing for 1.3.0.2 Beta version? Thanks
Zen Follower
How did you fix the attributes?
Zen Follower
lennypeng:
Where can I find the Dual Priceing for 1.3.0.2 Beta version? Thanks
Posted by DrByte here: http://www.zen-cart.com/forum/showthread.php?t=43216&page=3
Zen Follower
Well, I concluded that there is no new coding fix for the meta tags at this time, so I removed this mod from my 1.27d site. What a shame, I really liked it.
I can't go back now and easly see what I did before with the attrabutes, just have a jaded memory of a lot of trial and many error expermenting I did. What issues did you have? It may help me stir up some memories, or just stir up shi#, can't say for sure yet.
New Zenner
Hi!
I search on the forum but could not find an answer/psot really.
Was wondering how the Dual pricing could work with the SALE system.
I have one product: X priced at 45,00 , AND Wholesale: 22.50,26,50,23,50
but now for sale for 39,95. FOR the SALE "module" only takes thy "default" price.
I would like to have the same percentage OFF the Wholesales prices to and show the products in the same way as is shown in Sales...
Thanks!
Totally Zenned
I've just install this contribution on the latest version os Zen (1.3.5)
When I try to add a product to cart:
Fatal error: Call to undefined function: actionaddproduct() in /web/htdocs/www.100asab2b.it/home/zen/includes/main_cart_actions.php on line 42
New Zenner
I think we just need to get a stable copy of this for v1.3.5. There's so many "fixes" and "hacks" being posted here, I'm not sure what to implement and what not to. This little 3PA is keeping me from upgrading to v1.3.5. Anybody have a copy this is actually working on their cart that they could post here?
Totally Zenned
Where we can take a stable copy of this?
Zen Follower
I installed this mod, and my Meta Links in the Product Admin are missing now. I saw someone had this problem earlier, does anyone know how to fix it?
Fields marked required must be completed.
Tell staff why this post should be reviewed.