Electronic commerce (e-commerce) is the trading in products or services using computer networks, such as the Internet. E-commerce draws on technologies such as mobile commerce, electronic funds transfer (EFT), supply chain management, online transaction processing, electronic data interchange (EDI), inventory management systems, and automated data collection systems. Use this topic to discuss online shopping carts, online marketplaces, and e-commerce platforms.

Share tech news, updates, or what's on your mind.

Sign up to Post

this is a follow-on to this question

Open in new window

I need to have a multiple layer sort.  I now have it sorting on Parent ID but then I need within the the Parent ID for it to be alphabetical.  For example, I have a $2 Off, Buy 4 and a Buy 9.  They need to be in that order but now they are Buy 9, Buy 4 and $2.  I know I can do menu order but that is another tedious task.

If someone can show me how in the code below to do a sort on Alphabetical within Parent ID that would be great.

[code]unction jk_add_custom_sku() {
$args = array(
'label' => __( 'Parent ID', 'woocommerce' ),
'placeholder' => __( 'Enter custom SKU here', 'woocommerce' ),
'id' => 'jk_sku',
'desc_tip' => true,
'description' => __( 'This SKU is for internal use only.', 'woocommerce' ),
woocommerce_wp_text_input( $args );
add_action( "woocommerce_product_options_sku", "jk_add_custom_sku" );

function jk_save_custom_sku( $post_id ) {
// grab the custom SKU from $_POST
$custom_sku = isset( $_POST[ 'jk_sku' ] ) ? sanitize_text_field( $_POST[ 'jk_sku' ] ) : '';

// grab the product
$product = wc_get_product( $post_id );

// save the custom SKU using WooCommerce built-in functions
$product->update_meta_data( 'jk_sku', $custom_sku );

add_action( "woocommerce_process_product_meta", "jk_save_custom_sku" );
//add_action( "save_post_product", "jk_save_custom_sku" );

####### Custom Sort Option

Open in new window

Angular Fundamentals
LVL 13
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

A good buddy and I are helping another friend at a large corporation with an Access database performance issue.  My buddy is developing the SQL Web App stuff and I am in charge of all the server maintenance.  Its a 70% 30% split between the both of us.  Is there a service that will let us be paid individually at these percentages? For example client pays the entire balance and then its split 70/30 between the two of us? Does Upwork (or similar) offer something that could be of help in this scenario? We are being paid via a corporate credit card. Which is nice!
Does anyone have a simple script for sumup online payment processing?
The instructions on their website are all bitty and don't make much sense.
My client wants to configure two types of shipping in her Woocommerce store:
1. Some products will be $12 shipping, regardless of how many products are ordered.
2. The remaining products will be $12 shipping for the first item, but $6 shipping for all additional items.

Can this be done without a woocommerce extension? If not, which extension would enable this?

Thank you.

I have a product in woocommerce, it has a custom field (Made with Advanced custom fields) that is a page link. This works fine. When I am on the product, I can link to the page link

When I am on that page, i would like to link back to the woocommerce product and also get all the other woocommerce custom fields to use on this new page.

this is my first attempt at the code with no luck. I have tried linking with both the current page ID and the permalink, neither work

$current_url = get_permalink();
echo $post->ID;

$args = array(
  'numberposts'	   => 1000,
  'post_type'	   => 'product',
  'meta_key'	   => 'page_link',
  'meta_value'	   => $post->ID

$loop = new WP_Query( $args );

echo $loop->request;

while ( $loop->have_posts() ) : $loop->the_post();



Open in new window

Hi Experts

I am trying to implement a unique product layout on a Magento 2 ecommerce website. I am selling a product which has various options, mainly based on quantity and size. A good example would be leaflets. Currently under magento the out of the box way of displaying these additional option are through 2 different drop down options whereby the customer selects the size and quantity and get the price.

However I would like to output each option as a purchasable button on the product page. Similar to this website:


As you can see they are outputting each option in a table as a button when you select this it is then purchasable. Any idea on how to acheive this in magento using product options?
I’m creating a web application using PHP and MySQL. I’m looking for a simple solution to be able to accept online payments. If I was using a CMS like WordPress or Joomla I know for WordPress there’s WooCommerce, I could just use a Plugin, But I’m not. Again, if I were using Magento or Presta Shop or something but again I’m not, I’ve coded everything from scratch. What’s unique about my clients situation is that he will only be selling one product, so it’s not like a big E-commerce store with thousands or tens of thousands of products.
From what I’m learning I believe I’m going to need to use either PayPal or Stripe and I might have to create my own checkout and cart pages but I’m not really sure. Anyone know of a simple solution?
Hi all,

I've written a code that actually works but is really slow and can be improved to make it less error sensitive and faster.

It's a code that uses IE automation in Excel VBA and extracts store prices from a supermarket website. The thing is that across the different stores (in different cities) the prices are different for the same products. To extract the different 'price lines' for the products the codes does/ must do the following:

1- visit the website of the dutch supermarket and select the first store / city. The selected store is saved in a browser cookie.
2- the next code part visits the specified product (in total, finally it will be a fixed list around 200 products, using a loop). (The prices are extracted in a worksheet, not includes in this code yet)
3- next a second city/supermarket is selected and stored in the browser cookie
4- the same code (#2, see above) is called and the prices for the same 200 products is scraped from the store, and saved.

When using IE automation the specific store/city is remembered when visiting the product pages. I found that when using a different method like XMLHTTP request the code is much faster but the problem then is that the product page is not linked to the store that was saved in a browser cookie. Any suggestions how to use the XMLHTTP code (provided at the bottom) or a different method together with a cookie in which the correct store is saved while scraping the product prices?

Below the code, it's
So I am using CPR Northwest and I don't understand some of the mechanics, I am trying to find a page/video that might have a small tutorial/brief explanations about how to use the site.

i've already tried using this site: https://www.cprnwwashington.com/ and I can say that it has actually helped, but now I want to get more in depth.

Any suggestions? Thanks in advance!
Magento is one of the top most used e-commerce platform in the world.top brands like Nike, Ford motors, Cisco are using Magento as their e-commerce platform. so what made them choose Magento as their e-commerce operation platform?

B2B Commerce-friendly features of Magento B2B

magento eCommerce development is made simple and easy with smooth purchasing process in b2b ecommerce which is user-friendly.

Customized Pricing made easy

Every customer has their own pricing in their mind and respective budget limit in their mind. spreadsheet and wordprocessor cant fulfill the B2B marketers' expectations. magento ecommerce has a custom catalog for each individual customer's pricing which takes care throughout the checkout journey

Comprehensive Company Account Management

Magento eCommerce enables traversing the many levels of procurement layers found in enterprises. Customers can also track order statuses, punch new orders, monitor credit lines, assign buyer roles and permissions and much more using built-in self-service tools.

One-touch Bulk ordering

B2B eCommerce usually deals with bulk orders. magento has made the bulk orders and discount management efficiently.

Quick Ordering

Every second are valuable. magento quick ordering enables from already shopping list or pre-build template.

Built-in reports for quick decision making

Magento has …
Starting with Angular 5
LVL 13
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

So I am subscribed to Redwood Valuation and I don't understand some of the mechanics. I am trying to find a page/video that might have a small tutorial/brief explanations about how to use the site. I've already tried using this site: https://www.redwoodvaluation.com/ and I can say that it actually has actually helped, but now I want to get more in depth.

Any suggestions? Thanks in advance!
Hello, I've recently signed up with an eCommerce platform called DropGecko. It allows me to quickly add products to my store by importing the downloadable CSV files as-is, from AliExpress's "Hot Products" section in their affiliate portal. This works fine, but to add individual products to Dropgecko is more of a pain (lots of manual entering).
    What would be fantastic is maybe some chrome extension that would write all the pertinent product info fields to a CSV file when I am viewing/displaying a specific product on the Aliexpress site.

The relevant fields I need (and that come straight from Hot Products CSV download) are:

"Category Name","CategoryID","Product Name","ProductID","Product Image Url","allImageUrls(5<)","Product Url","originalPrice($)","salePrice($)","Commission Rate","Out of Stock Date","Discount","Click url"

The extension could of course export extra info fields... I could just edit these out in Excel.

An international website that runs with Multilanguage interfaces except Arabic. Digital marketing is handled by a third-party. If we wish to create the Arabic site as completely separate website hosted somewhere else, what are the pros and cons in terms of digital marketing?

How do i generate authentication parameters to be used by an API call to amazon SQS?  The requirement is to accomplish this without using aws SDKs but instead use a message broker's (IIB) builtin functionalities.

I am the aws account admin - How do i generate all the parameters required for the API call? for example in the sample below

GET https://iam.amazonaws.com/?Action=ListUsers&Version=2010-05-08 HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: iam.amazonaws.com
X-Amz-Date: 20150830T123600Z
In Shopify, I've been given product files to import. There is a separate image file to import.  In the product file, there is a URL that has an image file location. The vendor says that when I import the products, the images should appear in my shopify store. They don't. I'm confused about where the image file is placed or if the URL has to be changed.

Does this make sense?
So I'm using Shopify and I don't understand some of the mechanics, I'm trying to find a page/video that might have a small tutorial/brief explanations about how to use the site.

I've already tried using this site: https://www.logicinbound.com/shopify-support-help/ and I can say that it has actually helped, but now I want to get more in depth.

Any suggestions? Thanks in advance!
I'm running Prestashop website, and would like to customize the Order Reference to be unique.

I'm running a module that split multi items in a single cart into multi orders separated with Order IDs but with same Order reference.

If you have 3 items, they will be splited into 3 orders, for instance, you will see the order IDs as 100, 101 and 102, but the Order Reference will be 986716 for all the Orders I mentioned, I need to tweak this to have the Order Reference to be different than the other.

My actual public static function generateReference from classes/order/Order.php has:

return stroupper(Tools::passwdGen(9, 'NUMERIC'));

How can edit the code so that once generated it won't give the same order reference for all the orders in a single cart
We are working on an e-commerce application. We are at the point of integrating Elasticsearch for the product search engine with Spring boot application with Spring data. We have tried different tutorials online (check links below) but they all doesn't run well. No indexes are added to the Elasticsearch.  We are using ES 6.3.1 and the maven dependency is as follows.


Open in new window

Product Entity

@Document(indexName = "product", type="default")
public class Product {

    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long Id;
    private String Name;
    @Type(type = "text")
    private String Description;
    private String ShortDescript;
    private String Model;
    private String Brand;
    private String Sku;
    private String Isbn;
    private Integer Shipping;
    private BigDecimal SalePrice;
    private BigDecimal RegularPrice;
    private Integer Quantity;
    private Double Weight;

//other code here

Open in new window

Product Repository

public interface ProductRepository extends ElasticsearchCrudRepository<Product, Long> {

    @Query("select p from Product p where p.supplier.id = ?1")
    public Iterable<Product> GetAllProductsBySupplier(Long id);

Open in new window

We have installed kibana locally and have tested with test data and it works. But not with the Spring Boot application. Need your help. Thanks

1. https://www.baeldung.com/spring-data-elasticsearch-tutorial
I need to be able to host files(images in this case) on a server, to be read by my ecommerce website.

I would like to be able to control the names of the files and folders.  For instance, I might want to call the image http://www.hostingsite.com/project1/images/book_cover.jpg

An added bonus would be if I could map a local drive letter, like "X:\" to my hosted folder.  I usually use a combination of FTP and Webdrive to achieve this.
Exploring SQL Server 2016: Fundamentals
LVL 13
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

I work for a 3PL (3rd Part Logistics company), warehousing and shipping goods for 100's of clients.
Most warehouse orders are received electronically via EDI, XML, Flatfile... and mapped into our WMS (Warehouse Management software) through a middware mapping platform.

I need to get current and offer an API solution. I need to be able to quickly and easily talk to shopping cart API's (Shopify, Magneto, WooCommerce), as well as offer our own API that clients can interact with.

I don't have the tech skills in house to design or build this. Is anyone aware of of an existing software platform I could purchase that would support both types of API?
I have successfully implemented PayPal payment gateway integration into my Laravel e-commerce web application.  However I am still trying to find out if suppose the following scenario happens then how does the recovery take place.

1) The E-commerce app sends details to PayPal
2) The E-Commerce app +/ hosting encounters a problem
3) PayPal send a response to the E-commerce app
     * next course of action is for the E-commerce app to process the response and update the order status. (i.e. Pending to Paid)

However since the app +/ hosting is down then how do we identify which order encountered a problem at that point of time and recover the order status. Is there a PayPal api that help to achieve this?

Your help is kindly appreciated.

Thank You.
I need some help. How could you show the ecotax in the shopping cart?

I use Prestashop 1.6

I'm editing the template << shopping-cart.tpl >> but I can not!

Having the ecotax active, show the prices without ecotax, and only in the cart apply that ecotax.

i am trying to load custom phtml file for magento2 product page by removing the default design,
can we add custom page for product detail page instead of using magento2 pages
In my Magento there is an exception message "The requested Payment Method is not available." from Mage_Core_Exception class happening on a few pages:
  • /checkout/onepage/saveShippingMethod/
  • /checkout/onepage/

This is the stacktrace:
The version is Magento CE
What is the issue and how to fix this?
I want to attract sales people to sell my affiliate product, but I don't want to go beyond the limit of a few hours a week of managing the website.

So, I posted my offer on Freelancer and one person applied to the position, and then suddenly the job offer was taken down from Freelancer. (I am not sure why).

The job offer was a good offer, it said that sales person would earn 80% of the commissions. That's a good offer for someone to earn from the website. But the statistics
reveal that only that one person applied for the position.

If I have to spend many hours soliciting the job offer in order to get a sales person, then instead, I should close the website(s) because there is no time to deal with that.

Can anyone tell me where I can find such a sales person who will work in that scenario so as to expedite the sales of the website? (but without exceeding three hours a week
of management).


Electronic commerce (e-commerce) is the trading in products or services using computer networks, such as the Internet. E-commerce draws on technologies such as mobile commerce, electronic funds transfer (EFT), supply chain management, online transaction processing, electronic data interchange (EDI), inventory management systems, and automated data collection systems. Use this topic to discuss online shopping carts, online marketplaces, and e-commerce platforms.