Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter dovroc

    (@dovroc)

    Thank you! This still does not work. Using “add_action()” does not even get into the function.
    I’ve reverted back to “add_filter()” and it goes into the function and passes the class_exists(‘WOOCS’) but it seems that $WOOCS->set_currency(‘EUR’) doesn’t do anything as the price and currency stay the same.

    Please advise.

    Thread Starter dovroc

    (@dovroc)

    Hi Michael,

    Thank you for the detailed answer. I will check the suggested solutions and if this will not sort the issue I will be in touch again.

    Thanks again

    Thread Starter dovroc

    (@dovroc)

    Thanks for your help with this.

    Would someone be able to let me know where the code for the back-end product list page is edited. My customer is having access to the WP back-end and wont be using the front-end.

    Thread Starter dovroc

    (@dovroc)

    ok thanks for the tip!

    Thread Starter dovroc

    (@dovroc)

    ok, thanks for your help with this!

    Thread Starter dovroc

    (@dovroc)

    thank you for this.
    It looks like these plugins allows for 1 order to be split and sent to different places.
    Actually we only want each order to be sent to a single address, we just want the customer to have the option to choose between different address on their account.

    I don’t suppose multiple shipping addresses can be added by by default in WP?

    David

    Thread Starter dovroc

    (@dovroc)

    I have placed the file in the root of the site, and pasted in the data from the WP codex which I know works on other of my WP sites (different hosting company), but I get the same error.

    Thread Starter dovroc

    (@dovroc)

    Permissions for the htaccess file are set to 644.
    “User” is set to have permission to read and write, but currently “execute” is not clicked.

    Thread Starter dovroc

    (@dovroc)

    it turns out the site didn’t have one. I managed to create one but all it contains is this:

    # Created by Htaccess File Editor
    # BEGIN WordPress
    
    # END WordPress

    Would you know where I can find the data the file needs to contain?

    Thread Starter dovroc

    (@dovroc)

    btw, this is from cpanel file manager which also holds two OpenCart sites. I hope I sent the correct details.

    Thanks again.

    Thread Starter dovroc

    (@dovroc)

    thanks, here you go.

    text/x-generic .htaccess ( UTF-8 Unicode English text )
    # 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

    # 2. In your opencart directory rename htaccess.txt to .htaccess.

    # For any support issues please visit: https://www.opencart.com

    Options +FollowSymlinks

    # Prevent Directoy listing
    Options -Indexes

    # Prevent Direct Access to files
    <FilesMatch “(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))”>
    Order deny,allow
    Deny from all
    </FilesMatch>

    # SEO URL Settings
    RewriteEngine On

    # RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteCond %{HTTP_HOST} !^$
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTPS}s ^on(s)|
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

    ### Additional Settings that may need to be enabled for some servers
    ### Uncomment the commands by removing the # sign in front of it.
    ### If you get an “Internal Server Error 500” after enabling any of the following settings, restore the # as this means your host doesn’t allow that.

    # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
    # php_flag register_globals off

    # 2. If your cart has magic quotes enabled, This may work to disable it:
    # php_flag magic_quotes_gpc Off

    # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
    # php_value upload_max_filesize 999M

    # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value post_max_size 999M

    # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_execution_time 200

    # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_input_time 200

    # 7. disable open_basedir limitations
    # php_admin_value open_basedir none

    # php — BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php56” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddType application/x-httpd-ea-php56 .php .php5 .phtml
    </IfModule>
    # php — END cPanel-generated handler, do not edit

    Thread Starter dovroc

    (@dovroc)

    yes, i have just tried that and still get the same message.

Viewing 12 replies - 1 through 12 (of 12 total)