*begs some more
I'm desperate! :)
Printable View
*begs some more
I'm desperate! :)
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
Code: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 } ?>
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: andy AT allpaintballsupplies DOT com
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.
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.
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.
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!
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/showth...a+tags+buttons
Is everyone else having this result and did someone find a solution to this?
yeah i screwed up and did that too....
you will also have issues with your attributes if you have the same issues i had.
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.