What shows the following features in Shipping Settings in nopcommerce - nopcommerce

What shows the following option in Shipping Settings in nopcommerce
i.e.
1. Use warehouse location
2. Notify customer about shipping from multiple locations if required
3. Display shipment events (customers)
4. Display shipment events (store owners)
5. Bypass shipping method page.

As you can see in its documentation here
Tick Use warehouse location to use it when requesting shipping rates. This is useful when you ship from multiple warehouses.
Tick Notify customer about shipping from multiple locations if required. This is useful when you ship from multiple warehouses.
Tick Display shipment events (customers), to enable customers to view shipment events on their shipment details page. Note: to be
enabled, this feature must be supported by a shipment computation
method
Tick Display shipment events (store owners), to enable store owners to view shipment events on their shipment details page.
Note: to be enabled, this feature must be supported by a shipment
computation method
Tick Bypass shipping method page if there's only one shipping method available. This page will not be displayed during the
checkout process.

Related

Overriding WooCommerce WC_AJAX::get_variation function

I have an API, that gives products from third party ecommerce store. This API also gives product variations, but don't return the price.
Can I override WC_AJAX::get_variation somehow, or add filter or action etc, so when user selects the variation attributes, I can call the API there to fetch the updated price.

WooCommerce admin order page - notify and list new orders when placed

I want to notify the admin whenever an order is being placed. I want the small icon which tell the number of orders to be incremented and the new order being listed on the order list. I do not know what action hooks and filter I can use to do such task!!!
I found the woocommerce_new_order action while I am searching here but I do not how can I create such visual effects using that action!
I expected to have the information that I can utilize to get the job done!

Intershop forms: Auto populating form fields when values are known

With both a Shipping and Billing address form to fill out, I would like to auto populate the second form with values from the first.
Currently, filling out the Invoicing address form does not populate the Shipping form if you choose to ship to a different address. I'm hoping there's a BO setting allow this.
I'm very sure that there is no such function. If both addresses have the same data then why wouldn't you just select that shipping and billing are the same though?

Checking a guest customer's email address before order is processed to prevent them from purchasing multiple sample products

Hopefully there's a woocommerce veteran familiar with the checkout process that can help me with this. My store offers a sample product at a discounted price, but I want to limit this to a one-time order per customer. I've found a solution that works for registered users but I was wondering if there's another way to make this work without forcing guests to set up an account before ordering the product.
What I was thinking was if there's a way to check if the customer's billing email address has ordered this particular product at the checkout stage. So they'd fill out the checkout form and click "Proceed" but before the customer is taken through to the payment gateway their email address would be checked for ordering this particular product before, if so, direct them to a "order failed" page rather than through to the payment gateway.
Thanks in advance!
You have two of ways to achieve this functionality:
You can validate email on checkout page itself. Scan for orders with customer/guest's email address and if found with free product, then validate. This way an unnecessary order will not be recorded in the system.
Here is how you can have custom checkout validation.
/**
* Process the checkout
**/
add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process');
function my_custom_checkout_field_process() {
global $woocommerce;
// Check if set, if its not set add an error. This one is only requite for companies
if ( $_POST['billing_country'] == "NO" )
if (!$_POST['notes'])
$woocommerce->add_error( __('Please add the required information in "Order notes"') );
}
Alternatively, you can let customer place order and when order is placed, then scan for it if it has already ordered a sample product. And if found, then you can make status of that order as failed. - But this seems a bit illogical.

Need to find out a drop offs from purchasing per type of user

My client need to find out a drop offs in purchasing process per type of user and per type of industry.
FYI- these both user type and industry type need to select the user while registring to the website. And user can see the products only once they loggedin.
So, what needs to be done for achieving this to track in google dashboard
thanks
On Login set the user type and industry as session scoped custom dimensions. Go to your analytics account, property settings, custom definitions, create a custom dimension, set scope to session (that way you need it to set only once per session, with a hit based dimension you'd need to send this with every pageview).
On your login confirmation page add the custom dimension:
ga('send', 'pageview', {
'dimension1': 'usertype',
'dimension2': 'industry',
});
Custom dimensions are specified as key/value pairs; the key is he string "dimensions" plus the numeric index of the dimension, the values you'd have to extract from your backend for each user when he logs in. It takes at least 24 hours until values for custom dimensions show up (well, at least for me).
Based on those custom dimensions you can create segments in the Analytics interface and do any analysis you like. You should probably create a goal with a funnel for your sales, and then apply the segment to the funnel view (or the goal flow view) to see where users drop of.

Resources