Zen Cart Logo
Forums / All Other Contributions/Addons / COWOA (for ZC v1.5.x)

COWOA (for ZC v1.5.x)

Views: 159,074

Results 621 to 640 of 854
04 May 2015, 15:55
#621
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

COWOA (for ZC v1.5.x)

Looking in my admin at the orders page, I've noticed that I now have doubles of some search boxes. Maybe a merge mistake. Can somebody tell me in what files these boxes are? Need to have another look, but otherwise it's working fine now.

04 May 2015, 16:07
#622
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

Here is a picture of what my orders page looks like with the extra search boxes.
Attachment #15259

04 May 2015, 16:26
#623
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

Here is a picture of what my orders page looks like with the extra search boxes.
Attachment #15259

You've not merged the orders.php file correctly.. (left in the older code which is why it appears in the lower right of the page)

04 May 2015, 18:32
#624
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

just uploaded the orders.php from your github mod and it is still showing as in the pictures. Can you have a look at it?

I think this section is forming all the search fields, but which one creates the double?

<!-- search -->
<div id="searchOrders">
<?php echo zen_draw_form('search', FILENAME_ORDERS, '', 'get', '', true); ?>
<?php
// show reset search
  if ((isset($_GET['search']) && zen_not_null($_GET['search'])) or $_GET['cID'] !='') {
    echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />';
  }
?>
<?php
  echo HEADING_TITLE_SEARCH_DETAIL . ' ' . zen_draw_input_field('search') . zen_hide_session_id();
  if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
    $keywords = zen_db_input(zen_db_prepare_input($_GET['search']));
    echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER . $keywords;
  }
?>
</form>
</div>

<div id="searchOrdersProducts">
<?php echo zen_draw_form('search_orders_products', FILENAME_ORDERS, '', 'get', '', true); ?>
<?php
// show reset search orders products
  if ((isset($_GET['search_orders_products']) && zen_not_null($_GET['search_orders_products'])) or $_GET['cID'] !='') {
    echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />';
  }
?>
<?php
  echo HEADING_TITLE_SEARCH_DETAIL_ORDERS_PRODUCTS . ' ' . zen_draw_input_field('search_orders_products') . zen_hide_session_id();
  if (isset($_GET['search_orders_products']) && zen_not_null($_GET['search_orders_products'])) {
    $keywords_orders_products = zen_db_input(zen_db_prepare_input($_GET['search_orders_products']));
    echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER_ORDERS_PRODUCTS . zen_db_prepare_input($keywords_orders_products);
  }
?>
</form>
</div>

<div id="searchStatus">
<?php echo zen_draw_form('status', FILENAME_ORDERS, '', 'get', '', true); ?>
<?php
// show reset search status
  if ((isset($_GET['status']) && zen_not_null($_GET['status'])) or $_GET['cID'] !='') {
    echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />';
  }
?>
<?php
    echo HEADING_TITLE_STATUS . ' ' . zen_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], 'onChange="this.form.submit();"');
    echo zen_hide_session_id();
?>
</form>
</div>

<div id="searchOrderID">
<?php echo zen_draw_form('ordersID', FILENAME_ORDERS, '', 'get', '', true); ?>
<?php echo HEADING_TITLE_SEARCH . ' ' . zen_draw_input_field('oID', '', 'size="12"') . zen_draw_hidden_field('action', 'edit') . zen_hide_session_id(); ?>
</form>
</div>
<!-- search -->
04 May 2015, 20:13
#625
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

just uploaded the orders.php from your github mod and it is still showing as in the pictures. Can you have a look at it?

I think this section is forming all the search fields, but which one creates the double?

<!-- search --> <div id="searchOrders"> <?php echo zen_draw_form('search', FILENAME_ORDERS, '', 'get', '', true); ?> <?php // show reset search if ((isset($_GET['search']) && zen_not_null($_GET['search'])) or $_GET['cID'] !='') { echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />'; } ?> <?php echo HEADING_TITLE_SEARCH_DETAIL . ' ' . zen_draw_input_field('search') . zen_hide_session_id(); if (isset($_GET['search']) && zen_not_null($_GET['search'])) { $keywords = zen_db_input(zen_db_prepare_input($_GET['search'])); echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER . $keywords; } ?> </form> </div> <div id="searchOrdersProducts"> <?php echo zen_draw_form('search_orders_products', FILENAME_ORDERS, '', 'get', '', true); ?> <?php // show reset search orders products if ((isset($_GET['search_orders_products']) && zen_not_null($_GET['search_orders_products'])) or $_GET['cID'] !='') { echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />'; } ?> <?php echo HEADING_TITLE_SEARCH_DETAIL_ORDERS_PRODUCTS . ' ' . zen_draw_input_field('search_orders_products') . zen_hide_session_id(); if (isset($_GET['search_orders_products']) && zen_not_null($_GET['search_orders_products'])) { $keywords_orders_products = zen_db_input(zen_db_prepare_input($_GET['search_orders_products'])); echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER_ORDERS_PRODUCTS . zen_db_prepare_input($keywords_orders_products); } ?> </form> </div> <div id="searchStatus"> <?php echo zen_draw_form('status', FILENAME_ORDERS, '', 'get', '', true); ?> <?php // show reset search status if ((isset($_GET['status']) && zen_not_null($_GET['status'])) or $_GET['cID'] !='') { echo '<a href="' . zen_href_link(FILENAME_ORDERS, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a><br />'; } ?> <?php echo HEADING_TITLE_STATUS . ' ' . zen_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], 'onChange="this.form.submit();"'); echo zen_hide_session_id(); ?> </form> </div> <div id="searchOrderID"> <?php echo zen_draw_form('ordersID', FILENAME_ORDERS, '', 'get', '', true); ?> <?php echo HEADING_TITLE_SEARCH . ' ' . zen_draw_input_field('oID', '', 'size="12"') . zen_draw_hidden_field('action', 'edit') . zen_hide_session_id(); ?> </form> </div> <!-- search --> ``` That's the change.. you left all the ORIGINAL search fields in your orders.php file.. that's why you are seeing double fields..
04 May 2015, 22:40
#626
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

DivaVocals:

That's the change.. you left all the ORIGINAL search fields in your orders.php file.. that's why you are seeing double fields..
Not sure I understand. This is the file from your mod, not the merged one. Are you saying I need to edit your file and delete part of the search stuff? What part should be removed then?

05 May 2015, 08:27
#627
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

Not sure I understand. This is the file from your mod, not the merged one. Are you saying I need to edit your file and delete part of the search stuff? What part should be removed then?

No.. That's NOT what I am saying at all.. You need to merge the orders.php file from the mod with your orders.php.. You appear to have added only the part of the changes made.. The double search fields are because you merged in my changes (which modifies the search fields by simply removing the search fields from tables), but DID NOT remove the ORIGINAL parts of the file with the search fields which is why they appear TWICE in your store.. I'm not sure I can explain this any better..

05 May 2015, 11:47
#628
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

I do get what you are saying but please try and hear me too. Please have a look at YOUR order.php in the zen_COWOA-master on github. The doubles that cause my issue are there. I am testing YOUR un-merged version from the zen_COWOA-master set.

I took the time to try and find the original search code and think this section is it:

 <tr>
        <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
            <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td>
            <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr><?php echo zen_draw_form('orders', FILENAME_ORDERS, '', 'get', '', true); ?>
                <td class="smallText" align="right"><?php echo HEADING_TITLE_SEARCH . ' ' . zen_draw_input_field('oID', '', 'size="12"') . zen_draw_hidden_field('action', 'edit') . zen_hide_session_id(); ?></td>
              </form></tr>
              <tr><?php echo zen_draw_form('status', FILENAME_ORDERS, '', 'get', '', true); ?>
                <td class="smallText" align="right">
                  <?php
                    echo HEADING_TITLE_STATUS . ' ' . zen_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], 'onChange="this.form.submit();"');
                    echo zen_hide_session_id();
                  ?>
                </td>
              </form></tr>
            </table></td>
          </tr>

again, this is present in your mod. Just thought you might want to fix it on your end as well.

05 May 2015, 15:33
#629
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

I do get what you are saying but please try and hear me too. Please have a look at YOUR order.php in the zen_COWOA-master on github. The doubles that cause my issue are there. I am testing YOUR un-merged version from the zen_COWOA-master set.

I took the time to try and find the original search code and think this section is it:

<tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td> <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><?php echo zen_draw_form('orders', FILENAME_ORDERS, '', 'get', '', true); ?> <td class="smallText" align="right"><?php echo HEADING_TITLE_SEARCH . ' ' . zen_draw_input_field('oID', '', 'size="12"') . zen_draw_hidden_field('action', 'edit') . zen_hide_session_id(); ?></td> </form></tr> <tr><?php echo zen_draw_form('status', FILENAME_ORDERS, '', 'get', '', true); ?> <td class="smallText" align="right"> <?php echo HEADING_TITLE_STATUS . ' ' . zen_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], 'onChange="this.form.submit();"'); echo zen_hide_session_id(); ?> </td> </form></tr> </table></td> </tr> ``` > > again, this is present in your mod. Just thought you might want to fix it on your end as well. Right.. updated.. added the necessary admin stylesheet changes as well..
10 Jun 2015, 14:57
#630
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

If I'm not mistaken, you removed the option to use the split-login page or is it still possible to get that back? I prefer to give the customer the split-login page first so they can decide what way they want to check out. I found the combined page does not render in a logical order when in mobile mode with a responsive template. Anyway, can I get that back somehow?

17 Jun 2015, 17:40
#631
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

mydanilo:

If I'm not mistaken, you removed the option to use the split-login page or is it still possible to get that back? I prefer to give the customer the split-login page first so they can decide what way they want to check out. I found the combined page does not render in a logical order when in mobile mode with a responsive template. Anyway, can I get that back somehow?

Sorry but bumping this a bit. Is there an answer to this?

18 Jun 2015, 07:39
#632
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

Sorry but bumping this a bit. Is there an answer to this?

I have used this on version 1.5.4 and used a split login page. But the mobile version is not a responsive template. The mobile version has separate templates and uses detect mobile to decide which to display. So possibly you might think about changing your mobile phone version.

22 Jun 2015, 15:01
#633
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: COWOA (for ZC v1.5.x)

@iangh did you use the version in the plugin download or the new version from github here https://github.com/DivaVocals
I believe the old version allowed the split login, the one on github does not.

22 Jun 2015, 15:18
#634
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

deleted

22 Jun 2015, 15:28
#635
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

If I'm not mistaken, you removed the option to use the split-login page or is it still possible to get that back? I prefer to give the customer the split-login page first so they can decide what way they want to check out. I found the combined page does not render in a logical order when in mobile mode with a responsive template.Split login is a ZEN CART configuration setting.. I didn't REMOVE anything.. I simply changed the install script on the BETA version so it does not turn on split login by default. Suggest you look at modifying the CSS and your responsive template to arrange the mobile view in a format that suits your needs..

mydanilo:

Anyway, can I get that back somehow?Use the version here and not the beta version on Github.. Have been VERY busy, so I haven't had time to really look at what the issue is here to see if there is any kind of fix that is needed.. Remember this is a BETA version.. So if you find a solution contribute a pull request, and when my time permits, I'll review it and add it to the codebase if appropriate..

22 Jun 2015, 15:29
#636
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

ianhg:

I have used this on version 1.5.4 and used a split login page. But the mobile version is not a responsive template. The mobile version has separate templates and uses detect mobile to decide which to display. So possibly you might think about changing your mobile phone version.
This would be my suggestion too..

23 Jun 2015, 06:55
#637
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

mydanilo:

@iangh did you use the version in the plugin download or the new version from github here https://github.com/DivaVocals
I believe the old version allowed the split login, the one on github does not.
Sorry for delay I downloaded the version from Zen Cart

23 Jun 2015, 07:56
#638
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

DivaVocals:

This would be my suggestion too..

Just for info this is the mobile I used http://www.mobilezencart.com/

23 Jun 2015, 12:04
#639
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: COWOA (for ZC v1.5.x)

ianhg:

Just for info this is the mobile I used http://www.mobilezencart.com/
You saw their disclaimer?

You are aware that Mobile ZenCart has been tested only with versions 1.3.7 and 1.5.1 and may not be compatible with all installations.
24 Jun 2015, 05:20
#640
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: COWOA (for ZC v1.5.x)

lat9:

You saw their disclaimer?

You are aware that Mobile ZenCart has been tested only with versions 1.3.7 and 1.5.1 and may not be compatible with all installations.

Yes thanks, had a couple of issues and they fixed them. I have it on versions 1.5.1 and version 1.5.4