.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
If you'd prefer the logoff page with sideboxes, edit your \includes\templates\YOUR_TEMPLATE\common\tpl_main_page.php by removing logoff from the following list:
Code:if (COWOA_SIDEBOX_OFF == 'true') { if (in_array($current_page_base,explode(",",'no_account,create_account,account,account_password,account_edit,address_book,account_history_info,account_newsletters,account_notifications,account_history,login,logoff,checkout_shipping,checkout_shipping_address,checkout_payment,checkout_payment_address,checkout_confirmation,checkout_process,shopping_cart,address_book_process')) ) { $flag_disable_right = true; $flag_disable_left = true; } }
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.
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.
I thought we added observers to COWOA! Maybe I missed something...
I've been busy converting mine which is not to bad, has some new interesting code in 1.5.5 that should make things interesting.. With the way COWOA is setup now, it behaves more like a standard account without the customer knowing it.. which leaves more control for admin and leaves many of the normal behaviour of ZC as is.
With this comes other issues such as accessing the account pages when one should not be able to. This issues occurs during checkout when the customer enters shipping/billing addresses and then email address. Once the checkout processes receives an email address, the session now has a customer ID.. If the customer drops the cart and does something else, like hard enters the url for the account pages, they then have access to areas they shouldn't get to as guests. The observer should catch that and redirect them back to the login page. Also at this time, the dropped cart is saved in the database. When the same email address is used again during checkout the saved cart is retrieved and then added to the new cart... normal for standard accounts, not for guest. another observer to catch and delete saved carts during the checkout process for COWOA accounts only..
Testing with COWOA v2.7 on a clean install of ZC 1.5.5 using the responsive template.
Attaching the observer and loader used in ZC 1.5.4 and 1.5.5 and COWOA 2.4 - 2.7 for testing.
Dave
Always forward thinking... Lost my mind!
Hi
I'm seeing that lines 69-86 of index_dashboard.php have a misspelling for the "class=right", such as :
The code seems to have been corrected at least once and then reverted to "class="rigth" (commit: c4a35894a14d371c65ef90c13df1adba2016db38). I've searched the latest version of both v155 and COWOA 2.6/7 on github and can find definitions in many places (e.g. stylesheet.css) and usages for class="right" but class="rigth" appears only in index_dashboard.php and has no corresponding definition anywhere.Code:echo '<div class="row"><span class="left">' . BOX_ENTRY_COUNTER_DATE . '</span><span class="rigth"> ' . $counter_startdate_formatted . '</span></div>';
So, maybe another attempt to correct the spelling is in order?
Last edited by lucidlee; 28 Mar 2016 at 06:15 AM. Reason: clarification
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.
The mispelling of this class has been present in Zen Cart going back to at least v1.3.8 or v1.3.9. I corrected it in COWOA because it simply drove me NUTS..Looks like I missed correcting it in the new v1.5.5 index_dashboard.php file. I just submitted a pull request to the repo to make this correction. Please download and confirm.
Also I want to make some additional updates to index_dashboard.php to pull the search form out of the table it's nested in. Forms inside of tables is invalid HTML, and I made similar corrections to the index.php file in the v1.5.4 compatible version of COWOA.
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.
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.
Bookmarks