robertodimarco
Forum Replies Created
-
L’url che imposti su paypal una volta che il pagamento è stato completato. Anche se in realtà penso non sia questo il problema. Comunque il sistema funziona perfettamente se non imposto un pagamento online, ma se lo imposto allora l’sms non viene inviato. Sto facendo ulteriori test, anche online per assicurarmi che non sia un problema mio.
Forum: Plugins
In reply to: [Salon Booking System - Free Version] SMS Verification not workingSame problem, on plivio logs i see only sms to me. But nothing to customer phone number
- This reply was modified 8 years, 8 months ago by robertodimarco.
Solved! I’ve installed this plugin and added this script in widget-out.php
<script> jQuery.fn.exists = function(callback) { var args = [].slice.call(arguments, 1); if (this.length) { callback.call(this, args); } return this; }; // Usage jQuery('p.submit input#wp-submit').click(function() { setTimeout(function (){ //something you want delayed jQuery('span.lwa-status-confirm').exists(function() { window.location.reload(); }); }, 5000); // how long do you want the delay to be? }); </script>Forum: Plugins
In reply to: [WooCommerce] Add a reset filter button in layered widgeti’m using this code:
add_action('woocommerce_layered_nav_link', 'your_function_name'); function your_function_name() { // Your code $filterreset = $_SERVER['REQUEST_URI']; $filterreset = strtok($filterreset, '?'); echo'<a href="'.$filterreset.'">Clear Filters</a>'; }but is adding a link on every element inside the widget.
P.S. sorry for my english!
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Auto inventory updatehave you tried this?
It works for me!Forum: Plugins
In reply to: [WooCommerce] Woocommerce Auto inventory updateHaving the same issue, but im not in maintenance mode… Im only activated the sandbox paypal test. What can i do?
Forum: Plugins
In reply to: [WP eCommerce] Checkout missing with /%postname%/ permalinkI notice that was my fault, i’m using a trick for showing a pop up window for a quick view, using this post :
Link.
my ajax handler corrupt permalink, but i cant understand how it is possible. in firebug, i notice that:
“NetworkError: 404 Not Found – http://demo3.altervista.org/products-page/checkout/”Forum: Plugins
In reply to: [WP eCommerce] Disable "add to cart" when variations is out of stock.Fantastic!!! Thank you!!!
Forum: Plugins
In reply to: [WooCommerce] Update stock after clicking "add to cart"ok I’m trying alone. I think in my case it’s enough to change this page, and I think the change needs to be made in this line, which is located after the closing tag of the form, line 48:
<?php do_action(‘woocommerce_after_add_to_cart_form’); ?>
<?php /** * Simple product add to cart * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $woocommerce, $product; if ( ! $product->is_purchasable() ) return; ?> <?php // Availability $availability = $product->get_availability(); if ($availability['availability']) : echo apply_filters( 'woocommerce_stock_html', '<p class="stock ' . esc_attr( $availability['class'] ) . '">' . esc_html( $availability['availability'] ) . '</p>', $availability['availability'] ); endif; ?> <?php if ( $product->is_in_stock() ) : ?> <?php do_action('woocommerce_before_add_to_cart_form'); ?> <form action="<?php echo esc_url( $product->add_to_cart_url() ); ?>" class="cart" method="post" enctype='multipart/form-data'> <?php do_action('woocommerce_before_add_to_cart_button'); ?> <?php if ( ! $product->is_sold_individually() ) woocommerce_quantity_input( array( 'min_value' => apply_filters( 'woocommerce_quantity_input_min', 1, $product ), 'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->backorders_allowed() ? '' : $product->get_stock_quantity(), $product ) ) ); ?> <button type="submit" class="single_add_to_cart_button button alt"><?php echo apply_filters('single_add_to_cart_text', __( 'Add to cart', 'woocommerce' ), $product->product_type); ?></button> <?php do_action('woocommerce_after_add_to_cart_button'); ?> </form> <?php do_action('woocommerce_after_add_to_cart_form'); ?> <?php endif; ?>After you press the button, it should call the function “reduce_stock.”
but I have not understand how to change the do_action. Any suggestions?Forum: Plugins
In reply to: [WP eCommerce] A facebook like button under each productVery simple!
Add this inside price_container div:<div class=”fb-like” data-href=”<?php wpsc_the_product_permalink(); ?>” data-send=”true” data-layout=”button_count” data-width=”90″ data-show-faces=”false” data-font=”verdana”></div>
Follow instructions here:
https://developers.facebook.com/docs/reference/plugins/like/Forum: Themes and Templates
In reply to: [Theme: Mystile] : How to set custom breadcrumbOk thank u! I’ll try!
Forum: Plugins
In reply to: [Taxonomy Images] [Plugin: Taxonomy Images BETA] hierarchical taxonomyI don’t know what you mean, but i’m using this code for show specific taxonomies :
<table > <?php $count = 0; ?> <tr> <!-- Change "my-taxonomy-name" with your taxonomy name-> <?php foreach (wp_get_post_terms($post->ID,'my-taxonomy-name') as $cat) : ?> <td > <img src="<?php z_taxonomy_image_url($cat->term_id); ?>"/> <p><?php echo $cat->name; ?></p> </td> <?php if(++$counter % 3 == 0) : ?> <!-- Change 3 with desired number of cells--> </tr> <!-- column --> <?php endif; ?> <?php endforeach; ?> </table>Hope you helpful
Roberto
Forum: Plugins
In reply to: [Widget Logic] How to use Widget Logic with Woo Commerce product categories?Hi! I’m using widget logic, but i can’t show widget in subcategories…. how can display it? Thank u
Forum: Plugins
In reply to: [Postepay Gateway per Woocommerce] Doesn't save ppay number. How?Can u post ur code please?
Forum: Fixing WordPress
In reply to: help with custom hierachical list of taxonomiesSolved! I’ve found this script:
<?php $args = array( 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => '0', 'taxonomy' =>'finiture', ); $categories = get_categories($args); foreach( $categories as $category ) { $cat_ID = $category->term_id; $cat_name = $category->name; $cat_count = $category->count; echo '<p><strong>'.$cat_name.'</strong>'; // here's my img echo '<img src="'.z_taxonomy_image_url($category->term_id).'"/>'; echo '</p>'; } ?>