Page 1 of 1

[Zen Cart] No MSU for some pages

Posted: Wed Oct 19, 2011 5:55 pm
by wirefram
I am on Zencart 1.3.9h php5.3.3, I have this to application_top.php:

Code: Select all

require('includes/autoload_func.php');

if(!in_array(basename($_SERVER['SCRIPT_NAME']), array('shopping_cart.php', 'login.php', 'create_account.php', 'checkout_shipping.php', 'checkout_payment.php', 'checkout_confirmation.php', 'checkout_process.php', 'checkout_success.php'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');


BUT it doesn't stop MSU from rewriting all those files....and also i have to integrate Fast Easy checkout code:

Code: Select all

require('includes/autoload_func.php');
if ($_GET['main_page'] != 'checkout') {
  include(DIR_WS_INCLUDES . 'magic_seo_url.php');
}

therefore, in case the code to stop rewriting some urls decided to work, how do i integrate with the FeC?

Thanks

Re: [Zen Cart] No MSU for some pages

Posted: Wed Oct 19, 2011 6:53 pm
by inveo
In case of Zen Cart file excluding code should look like:

Code: Select all

require('includes/autoload_func.php');

if(!in_array($_GET['main_page'], array('shopping_cart', 'login', 'create_account', 'checkout_shipping', 'checkout_payment', 'checkout_confirmation', 'checkout_process', 'checkout_success'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');

Re: [Zen Cart] No MSU for some pages

Posted: Wed Oct 19, 2011 7:27 pm
by wirefram
ok, how do i include the code for Fec?

Code: Select all

if ($_GET['main_page'] != 'checkout') {
  include(DIR_WS_INCLUDES . 'magic_seo_url.php');
}

Re: [Zen Cart] No MSU for some pages

Posted: Thu Oct 20, 2011 8:20 am
by inveo

Code: Select all

require('includes/autoload_func.php');

if(!in_array($_GET['main_page'], array('shopping_cart', 'login', 'create_account', 'checkout_shipping', 'checkout_payment', 'checkout_confirmation', 'checkout_process', 'checkout_success', 'checkout'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');

Re: [Zen Cart] No MSU for some pages

Posted: Sun Oct 23, 2011 1:01 pm
by wirefram
Thanks

:|

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

We installed the WordPress Accelerator plugin and it's great! With 2 other plugins the website is blazing fast!!

Milko, the owner of Boxershorts Heren

Magic SEO URLs for PrestaShop is amazing product, it help me a lot with SEO, and the customer service is very nice and patient! I will built a new website, and I will buy this module again.

Joseph, the owner of Focus Vows

More Testimonials »