X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove the 'quantity' field and dropdown from product listing (https://forum.x-cart.com/showthread.php?t=57549)

Laitha 01-16-2011 02:16 AM

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

cflsystems 01-16-2011 05:26 AM

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?

Laitha 01-16-2011 07:57 AM

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

cflsystems 01-16-2011 11:41 AM

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

Laitha 01-16-2011 11:47 AM

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

cflsystems 01-16-2011 11:51 AM

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

Soft-Reseller.com 01-16-2011 06:54 PM

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

Soft-Reseller.com 01-16-2011 07:00 PM

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

Laitha 01-16-2011 09:52 PM

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

Laitha 01-18-2011 10:21 AM

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


All times are GMT -8. The time now is 05:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.