Support Forums

Package issue with Quick Checkout Module

This is a discussion on Package issue with Quick Checkout Module within the TemplateCodes forums, part of the Third Party Support category; There seems to be an issue with the packages available in the 'Choose Advertising Package' section. Currently it's showing all ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

This topic is closed.

This topic is closed to new replies.

 
Thread Tools Display Modes
Old 05-16-2010, 08:49 PM   #1
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 9
metrony is on a distinguished road
Exclamation Package issue with Quick Checkout Module

There seems to be an issue with the packages available in the 'Choose Advertising Package' section. Currently it's showing all active packages when it should show only the packages available to that specific user group.

It looks like this issue is just limited to the user group. The category criteria is working fine.

Can you please verify you're seeing the same thing?

Thanks.
__________________
Metro New York Apartments
Apartment listings for the Metro New York Area

Last edited by metrony; 05-16-2010 at 09:08 PM.
metrony is offline  
Old 05-16-2010, 09:27 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

This appears to be a bug. in due course we will issue a fix.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C

Last edited by seymourjames; 05-16-2010 at 09:31 PM. Reason: ppears to be a bug. In due course we will issue a fix.
seymourjames is offline  
Old 05-16-2010, 09:35 PM   #3
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 9
metrony is on a distinguished road
Default

Thanks for confirming it as a bug. Hopefully you'll get to updating it soon. Since I depend on that functionality I have to hold off on using the module until it's fixed.
__________________
Metro New York Apartments
Apartment listings for the Metro New York Area
metrony is offline  
Old 05-16-2010, 10:04 PM   #4
TemplateCodes
 
TemplateCodes-Mike's Avatar
 
Join Date: Apr 2010
Posts: 40
Rep Power: 7
TemplateCodes-Mike is on a distinguished road
Default

metrony,

Thanks for bringing this to our attention. A fix will be coming very soon.

Thank you for your patience.
__________________
TemplateCodes - Complete 68 Classifieds solutions and more
TemplateCodes-Mike is offline  
Old 05-17-2010, 06:15 PM   #5
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,195
Rep Power: 70
John Snyder is a jewel in the rough
Default

This is now fixed, seems I refactored this method and forgot to reinclude the user group stuff. David should be updating the source but for anyone else who wants to modify it on their own here is the file:

modules/quick_checkout/includes/QC_Products.php

find the method:

PHP Code:
public static function getCategoryProducts($categoryId
then look inside it for a while loop (line 48 or so) and replace this:

PHP Code:
while($row $Result->fetch()) {
    foreach (
$row as $key => &$value) {
        
$value stripslashes($value);
    }
    unset(
$value);
    
$rows[] = $row;

with this:

PHP Code:
while($row $Result->fetch()) {
    foreach (
$row as $key => &$value) {
        
$value stripslashes($value);
    }
    unset(
$value);
    if(
$row['pGroup'] == 0) {
        
//if no usergroup selected
        
$rows[] = $row;
    } elseif(
$row['pGroup'] <> && $row['pGroup'] == (int)$_SESSION['userlevel']) {
        
//if usergroup selected and they are a member.
        
$rows[] = $row;
    }

This should fix any issues regarding packages and the related user group permissions.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Checkout Module TemplateCodes-Mike Modification Release 16 05-17-2010 06:06 PM
Hide Package on Pricing Module metrony TemplateCodes 2 05-16-2010 07:14 PM
Category and Package Issue hotchops Technical Support 2 05-23-2009 01:54 PM
SEO Module IE 6/7 Issue jonahcoyote Technical Support 5 08-23-2008 01:48 PM
Package Prices module Mike-N-Tosh Modules / Plugins / Modifications 4 04-20-2008 08:59 PM


All times are GMT -4. The time now is 03:15 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0