VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: H13 on March 28, 2008, 11:57:00 AM

Title: [FIXED] Confusing listing of category products....
Post by: H13 on March 28, 2008, 11:57:00 AM
Hi to all,

Description:
If I add something into a cart and then I go back to the main VM site, where the categories are displayed (e.g. First Category(3), Second Category(3)) and I click on the e.g. Second Category, five products will be listed in this category (from Second Category and from First Category too, only one product which is stored under other manufacturer is not listed) ... browse_1.php will be used ....


So I want to see Second Category, but all products from one manufacturer will be listed...

-----------
E D I T:
-----------

It happens after adding products from different categories into a shopping cart...

If I want to see products from category 6 and I have products from both categories in my cart

index.php?option=com_virtuemart&page=shop.browse&category_id=6&Itemid=4

I get all products from one manufacturer...

The SQL for session looks:

UPDATE jos_session
  SET .... \"manufacturer_id\";i:1;s:19:\


 
After cleaning private data in Firefox and login again, everything is OK. If I click on Second Category(3), I get the 3 products listed in this category...

The SQL for session looks:

UPDATE jos_session
  SET ....
\"manufacturer_id\";i:0;s:7:\




------------------------------------------------

VM 1.1.0 RC2
Joomla!1.5.2
Frontend (localhost)
WinXP, Apache2, PHP5, MySQL5

Jan
Title: Re: Confusing listing of category products....
Post by: jenkinhill on March 28, 2008, 19:39:56 PM
I have not been able to reproduce this. Do you have the cache turned on in Joomla config?
Title: Re: Confusing listing of category products....
Post by: H13 on March 30, 2008, 22:37:50 PM
Disabled...

If I enable the cache in Joomla!, I get 4 'ordering' input boxes instead of category listing ???

See image...

[attachment cleanup by admin]
Title: Re: Confusing listing of category products....
Post by: Soeren on March 31, 2008, 15:18:33 PM
Could you please try again with VirtueMart 1.1.0 RC3 ?

thanks, Sören
Title: Re: Confusing listing of category products....
Post by: H13 on March 31, 2008, 17:07:05 PM
Hi,

thank you for your reply and info,

it seems to be OK in VirtueMart 1.1 Nightly Build 20080329.

-------------------------------------------------------------------------------
Some other errors I get while testing VM1.1 (I think, these are known issues but maybe it will help for fixing them):

After installation (backend)
Notice: Use of undefined constant DEBUG - assumed 'DEBUG' in ..\J152\administrator\components\com_virtuemart\classes\ps_database.php on line 76


While listing products (backend)

Notice: Undefined index: product_id in ..\J152\administrator\components\com_virtuemart\html\product.product_display.php on line 23


Using dTree menu in module Product Categories (frontend)
Notice: Undefined variable: mm_action_url in ..\J152\components\com_virtuemart\js\vm_dtree.php on line 97


Click on Account Maintance (frontend)
Notice: Use of undefined constant _LOGIN_TEXT - assumed '_LOGIN_TEXT' in ..\J152\components\com_virtuemart\themes\phoca\templates\pages\account.index.tpl.php on line 72
_LOGIN_TEXT

In Checkout - Shipping Address - Update Address - Bank Account info, I get some constants in form field

BANK_ACCOUNT_HOLDER
BANK_ACCOUNT_NR
BANK_SORT_CODE
BANK_NAME
BANK_IBAN

-------------------------------------------------------------------------------


Thank you,

Jan
Title: Re: Confusing listing of category products....
Post by: aravot on April 01, 2008, 23:50:56 PM
Jan, I am back after about 10 days of absence haven't checked the latest code, if you still getting those error messages please create a new topic.

Marking this solved.