Order Manager - anonymous purchase [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Order Manager - anonymous purchase [SOLVED]

Post by wmdvanzyl »

Hi All.

I somehow managed to break my order manager module. It was working fine and i placed a few orders anonymously (i mean without having to register or log in) and it would ask for billing / shipping info after completing the order. All of a sudden there are no textbox inputs any more. Thus i cannot complete an order.

Any advice?

You can see what i mean here:
http://humm.co.za/products

Try to place an order. Don't worry i can cancel it if needs be.
Last edited by wmdvanzyl on Thu Dec 11, 2014 10:28 am, edited 1 time in total.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Order Manager - anonymous purchase

Post by JohnnyB »

Do you have some more info available?
Might want to post your system information from the Admin and a copy of the billing form template.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: Order Manager - anonymous purchase

Post by wmdvanzyl »

Thanks for the response. I was hoping it would be just a setting. I don't think the template or system info is relevant as it worked before and i didn't change anything to the template. I just use these modules - i do not have a good understanding of their inner workings. I can see that their are no text inputs in the template, but it is trying to retrieve the values from somewhere. I'm just not sure where the customer is supposed to enter those details.
----------------------------------------------

Cms Version: 1.11.11

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
AdvancedContent: 0.9.4.3
Gallery: 2.0.1
FormBuilder: 0.8
CGExtensions: 1.44.3
CGSmartImage: 1.17.1
CGFBApp: 1.0.9
AceEditor: 1.0
Captcha: 0.5.0
TinyMCE: 2.9.12
SEOTools2: 1.2.1
FrontEndUsers: 1.25.1
CGSimpleSmarty: 1.7.4
CustomContent: 1.10
CGEcommerceBase: 1.5.2
Cart2: 1.1.3
JQueryTools: 1.3.4
Products: 2.21
CGPaymentGatewayBase: 1.3.1
Orders: 1.16.5
FRShipping: 1.2.3
FRTaxes: 1.2.2


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.4.34
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 60
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 30M
upload_max_filesize: 20M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.68
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


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

Code: Select all

{* billing form template *}
{* this is a frontend template *}
<h3>{$Orders->Lang('order_processing')}:</h3>
{if isset($status)}
  {* there is an error of some type.... you can check the $status variable for the type of error *}
  <div class="error">
  <ul>
  {foreach from=$errors item='error'}
    <li>{$error}</li>
  {/foreach}
  </ul>
  </div>
{/if}

{$formstart}

<div class="billing_info">
<fieldset>
<legend>&nbsp;{$Orders->Lang('billing_info')}:&nbsp;</legend>
<span class="required">{$Orders->Lang('company')}: {$input_billing_company}</span><br />
<span class="required">{$Orders->Lang('first_name')}:* {$input_billing_first_name}</span><br />
<span class="required">{$Orders->Lang('last_name')}:* {$input_billing_last_name}</span><br />
<span class="required">{$Orders->Lang('address1')}:* {$input_billing_address1}</span><br />
{$Orders->Lang('address2')}: {$input_billing_address2}<br />
<span class="required">{$Orders->Lang('city')}:* {$input_billing_city}</span><br />
<span class="required">{$Orders->Lang('state/province')}:* {$input_billing_state}</span><br />
<span class="required">{$Orders->Lang('postal')}:* {$input_billing_postal}</span><br />
<span class="required">{$Orders->Lang('country')}:* {$input_billing_country}</span><br />
{$Orders->Lang('phone')}: {$input_billing_phone}<br />
{$Orders->Lang('fax')}: {$input_billing_fax}<br />
{$Orders->Lang('email')}:* {$input_billing_email}<br />
</fieldset>
</div>
<br/>

{* if you do not need shipping information, just hide these fields using css *}
{foreach from=$shipping_inputs item='one' name='shipments'}
<div class="shipping_info">
{assign var='addr' value=$one.data->get_shipping_address()}
<fieldset>
{* this next part is a bit hackish *}
{capture assign='name'}{$one.data->get_name()}{/capture}
<legend> {if $smarty.foreach.shipments.total == 1}{$Orders->Lang('shipping_info_if_different')}:{else}{$Orders->Lang('shipping_info_for')}: {$name}:{/if}</legend>
<span class="required">{$Orders->Lang('company')}: {$one.input_company}</span><br />
<span class="required">{$Orders->Lang('first_name')}:* {$one.input_first_name}</span><br />
<span class="required">{$Orders->Lang('last_name')}:* {$one.input_last_name}</span><br />
<span class="required">{$Orders->Lang('address1')}:* {$one.input_address1}</span><br />
{$Orders->Lang('address2')}: {$one.input_address2}<br />
<span class="required">{$Orders->Lang('city')}:* {$one.input_city}</span><br />
<span class="required">{$Orders->Lang('state/province')}:* {$one.input_state}</span><br />
<span class="required">{$Orders->Lang('postal')}:* {$one.input_postal}</span><br />
<span class="required">{$Orders->Lang('country')}:* {$one.input_country}</span><br />
{$Orders->Lang('phone')}: {$one.input_phone}<br />
{$Orders->Lang('fax')}: {$one.input_fax}<br />
{$Orders->Lang('email')}:* {$one.input_email}<br />
</fieldset>
<br/>
</div>
{/foreach}

<fieldset>
<legend>&nbsp;{$Orders->Lang('order_notes')}:&nbsp;</legend>
<p>{$Orders->Lang('info_order_notes')}</p>
{$order_notes}
</fieldset>
<br/>

<input class="inputButton" type="submit" name="{$actionid}submit" value="{$Orders->Lang('next')}"/>

{$formend}
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Order Manager - anonymous purchase

Post by velden »

Did you update the orders module? And if you did, did you read the important release notes (1.16.3)?
http://dev.cmsmadesimple.org/project/fi ... ackage-493
Improved billing form template.
COMPATIBILITY PROBLEM: YOU MUST:
a: reset the prototype billing form template to factory defaults
b: create a new billing form template
c: style the new template.
Improved security and performance.
Adds support for handling modules.
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: Order Manager - anonymous purchase

Post by wmdvanzyl »

velden wrote:Did you update the orders module? And if you did, did you read the important release notes (1.16.3)?
http://dev.cmsmadesimple.org/project/fi ... ackage-493
Improved billing form template.
COMPATIBILITY PROBLEM: YOU MUST:
a: reset the prototype billing form template to factory defaults
b: create a new billing form template
c: style the new template.
Improved security and performance.
Adds support for handling modules.
Oh my word! Totally missed that. Thanks so much. Fixed the issue. :)

If you ever want to visit sunny South Africa i'm buying you a beer.

One question: how can i be better at not missing these types of messages? Is there a way to subscribe to release notes of the modules i use? Or is it just a case of reading release notes?
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Order Manager - anonymous purchase [SOLVED]

Post by JohnnyB »

The only way I know how to do it is to visit the Forge http://dev.cmsmadesimple.org/ and look at the module before installing / updating. There are usually release notes or change logs attached to each version released.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Order Manager - anonymous purchase [SOLVED]

Post by Jo Morg »

wmdvanzyl wrote:One question: how can i be better at not missing these types of messages? Is there a way to subscribe to release notes of the modules i use? Or is it just a case of reading release notes?
http://dev.cmsmadesimple.org/projects/orders.rss
On every project page there is a RSS feed, and there is also a global one. At least you can get notifications on each release.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Order Manager - anonymous purchase [SOLVED]

Post by JohnnyB »

http://dev.cmsmadesimple.org/projects/orders.rss
On every project page there is a RSS feed, and there is also a global one. At least you can get notifications on each release.
Good info JoMorg! All this time, I never noticed the orange RSS Feed icon :-\
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Order Manager - anonymous purchase [SOLVED]

Post by Dr.CSS »

If you look in the 'about' link of the module in Module Manager I believe it will show all the changes done to the module from day one...
Post Reply

Return to “Modules/Add-Ons”