Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove the 'quantity' field and dropdown from product listing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-16-2011, 02:16 AM
 
Laitha Laitha is offline
 

Member
  
Join Date: Dec 2010
Posts: 15
 

Default Remove the 'quantity' field and dropdown from product listing

Hi there!

I need to remove the quantity field and drop down menu (<div class="quantity"> ) from all the product listing templates as for egoods the default quanity i 1.

anyone could help me please?

Thanks!

- Mariella

xcart 4.4.1
__________________
VERSION
Reply With Quote
  #2  
Old 01-16-2011, 05:26 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Remove the 'quantity' field and dropdown from product listing

If you have these products as eGoods the quantity field won't show, that's how it is by default, you don't have to do anything. Have you setup your products ass eGoods?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 01-16-2011, 07:57 AM
 
Laitha Laitha is offline
 

Member
  
Join Date: Dec 2010
Posts: 15
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Quote:
Originally Posted by cflsystems
If you have these products as eGoods the quantity field won't show, that's how it is by default, you don't have to do anything. Have you setup your products ass eGoods?

On the main prduct page .. but not in the pages where you have the product listed.

See here:

http://laitha.com/store/home.php?cat=7


- Mariella


Xcart 4.4.1
__________________
VERSION
Reply With Quote
  #4  
Old 01-16-2011, 11:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Link doesn't work. I would report this as bug in the bugtracker - https://bugtracker.qtmsoft.com/view_all_bug_page.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 01-16-2011, 11:47 AM
 
Laitha Laitha is offline
 

Member
  
Join Date: Dec 2010
Posts: 15
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Quote:
Originally Posted by cflsystems
Link doesn't work. I would report this as bug in the bugtracker - https://bugtracker.qtmsoft.com/view_all_bug_page.php


Sorry you're right.

Here you go:

http://laitha.com/store/home.php?cat=10

- M
__________________
VERSION
Reply With Quote
  #6  
Old 01-16-2011, 11:51 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Remove the 'quantity' field and dropdown from product listing

I would report this as bug. Even if QT says it's default behaviour it shouldn't be like this
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 01-16-2011, 06:54 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Quote:
Originally Posted by Laitha
Sorry you're right.

Here you go:

http://laitha.com/store/home.php?cat=10

- M

Hello

I am using v4.4.1 and all is fine you need to upgrade your version

http://www.soft-reseller.com/eshop/AVG-Internet-Security.html

Regards
Soft-reseller.com
Reply With Quote
  #8  
Old 01-16-2011, 07:00 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Quote:
Originally Posted by Soft-Reseller.com
Hello

I am using v4.4.1 and all is fine you need to upgrade your version

http://www.soft-reseller.com/eshop/AVG-Internet-Security.html

Regards
Soft-reseller.com

Hello

Sorry i was mistaken I got the same error on my downloadable product

http://www.soft-reseller.com/eshop/Fashion-Craze.html

Regards
Soft-reseller.com
Reply With Quote
  #9  
Old 01-16-2011, 09:52 PM
 
Laitha Laitha is offline
 

Member
  
Join Date: Dec 2010
Posts: 15
 

Default Re: Remove the 'quantity' field and dropdown from product listing

Quote:
Originally Posted by Soft-Reseller.com
Hello

Sorry i was mistaken I got the same error on my downloadable product

http://www.soft-reseller.com/eshop/Fashion-Craze.html

Regards
Soft-reseller.com


The page you are showing to me is the MAIN PRODUCT PAGE and it's ok ...
But what I am talking about is the PAGE WHERE PRODUCT ARE LISTING .. and it's not ok for me.

I am using 4.4.1and maybe it could depend on template I am using?

- M
__________________
VERSION
Reply With Quote
  #10  
Old 01-18-2011, 10:21 AM
 
Laitha Laitha is offline
 

Member
  
Join Date: Dec 2010
Posts: 15
 

Default Re: Remove the 'quantity' field and dropdown from product listing

found a solution here, guys: the problem seems to be generated by Download Expander!

To prevent the quantity box from displaying make the following edit to your include/search.php file:

Find this code near line 966:

$products[$k]['appearance'] = func_get_appearance_data($products[$k]);


BEFORE insert:

// Download Expander :: www.alteredcart.com
if ($active_modules['Download_Expander']){
require_once
$xcart_dir."/modules/Download_Expander/download_functions.php";
$products[$k]['distribution'] = dlex_is_esd_assigned($v['productid'] , func_get_default_options($v['productid'], 1, @$user_account['membershipid']));
}
// End Download Expander
__________________
VERSION
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:45 AM.

   

 
X-Cart forums © 2001-2020