Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Designflair, tick the box Enable WP Customer Reviews for this page under your post in editing mode to edit business/product details.

    HOWEVER, even if I edit details I keep getting “blank business name”. I’ve been trying to mess around with the code to remove that part but no luck yet..

    Thread Starter rytisg

    (@rytisg)

    Moreover, the options to add new or remove plugin on “plugins” page vanished..

    Anyway, I restored my old database and changed my prefixes automatically with ‘All In One WP Security’ plugin. No problem.

    Thread Starter rytisg

    (@rytisg)

    Yeah, I have a backup but it’s a little old, so it may take a while to get to where I was today…

    Thread Starter rytisg

    (@rytisg)

    Update: I tried deactivating Woocommerce and the whole screen just went white. I went to phpMyAdmin and deactivated all plugins manually. I was then able to access the site and tried reactivating some plugins. Same happened again. I deactivated them through phpMyAdmin once again, and was then able to reactivate plugins one by one via my admin dashboard! That’s weird. I can now access Woocommerce plugin as usual, but not some others.

    Here’s my config.php:

    ?php
    /**
    * The base configuration for WordPress
    *
    * The wp-config.php creation script uses this file during the
    * installation. You don’t have to use the web site, you can
    * copy this file to “wp-config.php” and fill in the values.
    *
    * This file contains the following configurations:
    *
    * * MySQL settings
    * * Secret keys
    * * Database table prefix
    * * ABSPATH
    *
    * @link https://codex.ww.wp.xz.cn/Editing_wp-config.php
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    //define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘mysite/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘dbname’);

    /** MySQL database username */
    define(‘DB_USER’, ‘user’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘password’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘host’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8mb4’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.ww.wp.xz.cn/secret-key/1.1/salt/ ww.wp.xz.cn secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘Pmgw^RO|Ti}.{h]}P@}c1[%VGS{p+d1.npun$)_N%#neaMj4NB}Oh2|AXp~mA;# ‘);
    define(‘SECURE_AUTH_KEY’, ‘dj{![sZOMZRqli$dKt/Hb*n=~:|? ad,(HNidz^C8JxqQ5~(=5+FF|?E^qf)dm%}’);
    define(‘LOGGED_IN_KEY’, ‘t5#lLfeVXwsSY(@2qND7YZVVBg$@rCI6|+YHAj9,h&g&L7wz-xoz<Hp`7Cm uQT;’);
    define(‘NONCE_KEY’, ‘Nb5k|e!!r!xM8GJ|Vm1~gU/&l[rga^^uc#bR|L|p!pfX>^v+3)Xt^0HIujz^Q,vs’);
    define(‘AUTH_SALT’, ‘e0E0okU C<@pi:^8e/A004HOc-*myXs2,Fc`kp|{r3R@~|P6u1+q <}x{uu,P{k*’);
    define(‘SECURE_AUTH_SALT’, ‘>+%RKH6nS/yIJe,T$bb0wc+;V]y6Ezd-5&N fCuV*Da+XvS0%1tMJY_u!Cua5wX_’);
    define(‘LOGGED_IN_SALT’, ‘V!#s8zdT68V,Pc<A6T8[fhu8GxH02c1I|77dbTf7DIt=F2FY-TI^%G1_`v%%#a20’);
    define(‘NONCE_SALT’, ‘hw}bJ|>w5wepaP7taLGf-XU+e+B4V:hvew.5N1#G.P-CW#FL]KNac9@da|9Gy4 ;’);

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each
    * a unique prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    ini_set( ‘display_errors’, ‘on’ );

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    *
    * For information on other constants that can be used for debugging,
    * visit the Codex.
    *
    * @link https://codex.ww.wp.xz.cn/Debugging_in_WordPress
    */
    /* Switch this value between true and false to enable and disable debugging */
    define(‘WP_DEBUG’, true);

    /* This will log all errors notices and warnings to a file called debug.log in wp-content only when WP_DEBUG is true */
    if (WP_DEBUG) {
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’, 0);
    @ini_set(‘error_reporting’, E_ALL & ~E_NOTICE );
    @error_reporting(E_ALL & ~E_NOTICE);
    }

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    Thread Starter rytisg

    (@rytisg)

    It was a typo here in my post. I meant wp_ .

    Thread Starter rytisg

    (@rytisg)

    Thanks. But I’m not sure if it’s Fraudlab’s problem as the same is happening with Receiptful.

    Thread Starter rytisg

    (@rytisg)

    Well, I’m an idiot…

    Thanks!

    Thread Starter rytisg

    (@rytisg)

    As for the price next to “add to cart” button, I’ve actually found an answer by yourself from another topic here https://ww.wp.xz.cn/support/topic/remove-price-from-add-to-cart-shortcode-button?replies=25. Worked!

    EDIT:
    Also found out two wayshow to remove the grey border around the button. Either:
    1. Add custom css .product {border:none !important;}
    2. Add “border:0;” to the shortcode, e.g. [add_to_cart id=”120″ style=”border:0;”]

    Works like a charm!

    Thread Starter rytisg

    (@rytisg)

    You saw this because I deleted add to cart button altogether. I’m abandoning this woo button idea for now and will redirect to cart upon adding an item to cart. Not great but I can live with that I guess.

    Also yes, the shop isn’t supposed to work just yet. First I will figure out how to go about cart/checkout/payment.

    Thread Starter rytisg

    (@rytisg)

    Moreover, whenever I try to activate or deactivate any plugin, I get an error:

    Warning: Cannot modify header information – headers already sent by (output started at /srv/disk10/2014103/www/mysite.com/wp-includes/plugin.php:525) in /srv/disk10/2014103/www/mysite.com/wp-includes/pluggable.php on line 1228

    Thread Starter rytisg

    (@rytisg)

    Oops, misunderstanding here… By price I meant the one in small font right next to the “add to cart” button, that’s what I need to get rid of.

    And I can’t get rid of the square, no matter what.

    As for using “?add-to-cart=”, it refreshes the page, which I don’t want. I need ajax.

    Thread Starter rytisg

    (@rytisg)

    Ok, I’ve just managed to get url to work, but still I want to stay on the page after an item added to cart. So I still need to use the button.

    As for changing the color of the button, it’s pointless because that square around “add to cart” remains, unless I mask it selecting the same color.

    Also, the price is displayed but it’s in dark grey color against dark blue background, so perhaps you didn’t see it?

    Anyway, all I need is to somehow add a product from a pricing table to the cart, without redirecting to another page. Do you by any chance know of any other pricing tables that support button codes as links?

    EDIT: with Easy Pricing Tables by Fatcat it’s possible to use [shortcode][my-shortcode-button][/shortcode] in URL field, but the button still has the same problems.

    Thread Starter rytisg

    (@rytisg)

    Well, the reason I’m using this table is because unlike many others, it has an option to provide a custom button code instead of url. I can’t add a product using url. I know there’s this ?add-to-cart={product-id}, but it doesn’t work. All it does is redirects to homepage without adding the item to cart.

    Thread Starter rytisg

    (@rytisg)

    I pasted these codes into a custom css box but there was no effect.

    Also, how do I check the button templates?

    Thread Starter rytisg

    (@rytisg)

Viewing 15 replies - 1 through 15 (of 16 total)