HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


eCommerce Problems

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#58795 (In Topic #12823)
Avatar

Community saint

I am running into several problems related to the eCommerce part of the system.

1. I have added a test product into the system and when I go to the site:purchase page it lists the product as well as my subscriptions. When I click on the subscriptions they work fine, but when I click on my test product I get the following error:

Expand: Click Here Click Here


2. Still have a problem with the stock level. I can blank out the "Stock Level" and "Stock Level Warn Threshold" and select "Stock Maintained" = No and it will save just fine but if I go back to the edit page the 2 that I blanked out have been changed back to "0". And if I try to order it I get the following error:

Expand: Click Here Click Here


I am sure I ran into another issue or 2 but can't remember off the top of my head. If I find them I will reply to this. Thanks in advance...

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#58797
Avatar

Community saint

OK I figured out # 1. I was trying to hide the stock level and if it is hidden you get that error. Since I can't make this work without stock tracking is there a way to not display the stock level to the user? Thanks again.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#58817
Avatar

Hi Rick,

It sounds like you've found two bugs here. I'll try to fix them tomorrow for you. I'd look now but my brain is scrambled eggs this late into the day ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#58819
Avatar

Community saint

Thanks Chris, no rush, thought it was me so I am glad to find that I am not going crazy. I sure hope that you don't or we will all be lost O_o

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#58822
Avatar

Community saint

Chris Graham said

…scrambled eggs this late into the day
Here it is almost Lunch time but even so, scrabled eggs sound good right now.
…minus the brains, of course!

Get some rest Chris, or as Rick says, "… we will all be lost."


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#58829
Avatar

Fixes :)

Attachment
sources/catalogues.php
» Download: catalogues.php (46 Kb, 123 downloads so far)

Attachment
sources/hooks/modules/catalogue_fields/integer.php
» Download: integer.php (3 Kb, 155 downloads so far)





Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#58836
Avatar

Community saint

Chris, as always you hit the nail on the head. Thanks for your help!!!

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#58840
Avatar

Community saint

Well I just ran into another problem. I tested a purchase of a test item. I then went into the eCommerce deal to look at all orders. I then tried to dispach my test order and got the following error:

Expand: Ckick Here Ckick Here


It looks like it is still and issue with the stock level...

edit:
I went back and checked the status and it is now in Dispatched status so it did work just with an error.


Last edit: by rick

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#58859
Avatar

Hi- fix attached. I haven't tested this fix, but I'm pretty sure it'll work as I could see the bug clearly.

Attachment
sources/shopping.php
» Download: shopping.php (12 Kb, 125 downloads so far)





Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#58862
Avatar

Community saint

Thanks Chris, that seems to have fixed that issue. I have another problem with subscriptions but will start a new topic since it is not directly related to this.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: