Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

COWOA (for ZC v1.5.x)

Started by countrycharm on 6 Jun 2012, 5:26 PM · Views: 160,063

Results 621 to 640 of 854
4 May 2015, 3:55 PM
#621
mydanilo avatar

mydanilo

Totally Zenned

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

Post #621 by mydanilo

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.

Live and learn... the Zen way.

4 May 2015, 4:07 PM
#622
mydanilo avatar

mydanilo

Totally Zenned

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

Post #622 by mydanilo

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

Live and learn... the Zen way.

4 May 2015, 4:26 PM
#623
divavocals avatar

divavocals

Totally Zenned

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

Post #623 by divavocals

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)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

4 May 2015, 6:32 PM
#624
mydanilo avatar

mydanilo

Totally Zenned

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

Post #624 by 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 -->

Live and learn... the Zen way.

4 May 2015, 8:13 PM
#625
divavocals avatar

divavocals

Totally Zenned

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

Post #625 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

4 May 2015, 10:40 PM
#626
mydanilo avatar

mydanilo

Totally Zenned

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

Post #626 by mydanilo

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?

Live and learn... the Zen way.

5 May 2015, 8:27 AM
#627
divavocals avatar

divavocals

Totally Zenned

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

Post #627 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

5 May 2015, 11:47 AM
#628
mydanilo avatar

mydanilo

Totally Zenned

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

Post #628 by 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.

Live and learn... the Zen way.

5 May 2015, 3:33 PM
#629
divavocals avatar

divavocals

Totally Zenned

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

Post #629 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

10 Jun 2015, 2:57 PM
#630
mydanilo avatar

mydanilo

Totally Zenned

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

Post #630 by 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?

Live and learn... the Zen way.

17 Jun 2015, 5:40 PM
#631
mydanilo avatar

mydanilo

Totally Zenned

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

Post #631 by mydanilo

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?

Live and learn... the Zen way.

18 Jun 2015, 7:39 AM
#632
ianhg avatar

ianhg

Zen Follower

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

Post #632 by ianhg

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, 3:01 PM
#633
mydanilo avatar

mydanilo

Totally Zenned

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

Post #633 by 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.

Live and learn... the Zen way.

22 Jun 2015, 3:18 PM
#634
divavocals avatar

divavocals

Totally Zenned

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

Post #634 by divavocals

deleted

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Jun 2015, 3:28 PM
#635
divavocals avatar

divavocals

Totally Zenned

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

Post #635 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Jun 2015, 3:29 PM
#636
divavocals avatar

divavocals

Totally Zenned

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

Post #636 by divavocals

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

23 Jun 2015, 6:55 AM
#637
ianhg avatar

ianhg

Zen Follower

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

Post #637 by ianhg

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, 7:56 AM
#638
ianhg avatar

ianhg

Zen Follower

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

Post #638 by ianhg

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 PM
#639
lat9 avatar

lat9

Administrator

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

Post #639 by lat9

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, 5:20 AM
#640
ianhg avatar

ianhg

Zen Follower

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

Post #640 by ianhg

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