dwdonline
Forum Replies Created
-
Forum: Plugins
In reply to: [Route ? Shipping Protection] error ROUTEAPP_ENVIRONMENT_ENDPOINTFor those who want a solution – until Route fixes this, wrap line 73 of /includes/class-routeapp-api-client.php in an if statement.
Replace:
$custom_env = $_SERVER['ROUTEAPP_ENVIRONMENT_ENDPOINT'];
with:
if(isset($_SERVER['ROUTEAPP_ENVIRONMENT_ENDPOINT'])) { $custom_env = $_SERVER['ROUTEAPP_ENVIRONMENT_ENDPOINT']; }
- This reply was modified 3 years, 6 months ago by dwdonline.
Forum: Plugins
In reply to: [Route ? Shipping Protection] error ROUTEAPP_ENVIRONMENT_ENDPOINTThis shouldn’t have been marked resolved. Turning off logging is NEVER a solution! Fixing the error is the solution. Any idea when this will be fixed?
Forum: Plugins
In reply to: [Route ? Shipping Protection] Turn off toggleSo, I came up with a way to override this. It’s too bad that Route insists on unethical business practices. This toggle should be easy to turn off in the control panel – not forced on and then required to email them and wait months.
//turn off route auto-apply if ( is_plugin_active( 'routeapp/routeapp.php' ) ) { add_action('woocommerce_before_checkout_form', 'cart_route_insurance_set_session', 20); function cart_route_insurance_set_session() { WC()->session->set('checkbox_checked', FALSE ); } }
Forum: Plugins
In reply to: [Premmerce Wholesale Pricing for WooCommerce] Migrate from Wholesale SuiteI had setup about 1800 products in the Wholesale Suite plugin, so I wanted to transfer those. I was able to do this via SQL on the database.
UPDATE wp_postmeta
set meta_key = ‘_price_types_1’
where meta_key = ‘yourlevel_wholesale_price’;In the database, each level is saved as _price_types_#. In the wholesale suite, it does them as yourname_wholesale_price (you just change the yourname to the slug you used when creating the wholesale role from the previous plugin. This MySQL updates the meta_keys and ties them to the new plugin.
@luisinho77 You can do this by adding the following to your functions.php
function dwd_input_default( $args, $product ) { if ( is_singular( 'product' ) ) { $args['input_value'] = 3; } return $args; } add_filter( 'woocommerce_quantity_input_args', 'dwd_input_default', 10, 2 );
Forum: Plugins
In reply to: [WC Fields Factory] Always Show Custom Field On Cart PageDid you find a solution to this?
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Tax NamesI just added the above code to my functions.php file. It adds the fields to the export, but they all have 0 in them instead of the tax values.
In the woocommerce_order_items table it looks like this: https://snag.gy/60VNov.jpg
In the woocommerce_order_itemmeta table, it has this: https://snag.gy/A5SuMJ.jpg
We are using the standard WooCommerce tax rates Admin > WooCommerce > Settings > Tax > Standard Rates.
This is the tax table: https://snag.gy/TVu3r4.jpg
- This reply was modified 8 years, 6 months ago by dwdonline.
Hi,
So I have looked at all the above plugins because I’m working with a client that needed better options. We would have had to enter about 20,000 prices. I ended up getting this plugin https://www.najeebmedia.com/n-media-woocommerce-personalized-product-options-manager/. It seems to work quite nicely.
Here is a screen-shot with how it looks. https://imgh.us/Screen_Shot_2013-08-29_at_2.43.48_AM.png
Hope this helps.
This plugin has not worked for over two months now. It is not compatible with the last few versions of WP E-Commerce or WordPress. It completely hides WP Commerce from the admin menus and it changes the icons. Is the development for this dead?
wp-commerce allows this and is a much more stable plugin.
Forum: Fixing WordPress
In reply to: [Plugin: Google AJAX Translation] I do not see the link translationHi, Maybe you can help me. I cannot seem to get the site to translate the title. It only does the content below.
Here is the content of my page.php
<?php get_header(); ?> <?php get_sidebar(1); ?><?php get_sidebar(2); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>"> <div class="indent bgnone"> <div class="title-page01"><h2><?php the_title(); ?></h2></div> <div class="text-box"> <?php the_content('<p class="serif">Read the rest of this page</p>'); ?> </div> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <div class="link-edit"><?php //edit_post_link('Edit Post', ''); ?></div> </div> </div> <?php endwhile; endif; ?> </div> <?php get_footer(); ?>