E-Commerce

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

Hi guys

I'm not a developer so bear with me with the simplistic question. I'm trying to understand how API's work. For example, let's say an ecommerce platform says that you can connect to their API in order to do your queries from your site. My question is, how do you know what programming language to write it in so that you can have your query made?

Does the platform provider have to tell you the language compatibility?

Thanks for helping
Yash
0
Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

I'm working with a small company that runs a website with an e-commerce system running in the Laravel framework with the rest of the site running in WordPress. Now I want to take a copy of all of this so that I can work on stuff without affecting the production site. Naturally there is no existing dev area. This was all set up for them by a 3rd party who have effectively run away and refuse to answer any calls or emails. I've created a VM running Ubuntu 18.04, Laravel (5.7 I think) MariaDB Apache2 and PHP7.2. I can (and have) taken a backup copy of the WordPress items that I can install onto the VM using the Duplicator Pro plugin. I've tested this on the VM and know that I can expand everything there and having done so I can at least rung the CMS side of WP although seeing the actual web pages is difficult.

I need to get this running partly because I may need to move from the existing hosting arrangement so want to use this as a sort of trial run in addition to creating a dev setup. My question is what do I need to do to get this working? Do I need to make changes in the Laravel set up? It's still got the "your-project" folder where I've put things like phpminiadmin.php (like phpMyAdmin but just one page) so I know that all the bits are running. Can I get away with just duplicating the file and folder structure of the production site and then run the Duplicator Pro installer script to set up the site? Am I being too naïve here? :-)
0
.htaccess file in WordPress.  Is the following .htaccess file TO restrictive for a e-commerce site?  I am trying to keep the bots out of all files but the site and product files.

.htaccess

User-agent: *
Disallow: /cgi-bin/
Disallow: /info/
Disallow: /meta/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/mu-plugins/
Disallow: /wp-content/plugins/
Disallow: /wp-content/updraft/
Disallow: /wp-content/upgrade/
Disallow: /wp-content/uploads/
Disallow: /wp-content/wflogs/
Allow: /wp-admin/admin-ajax.php

Open in new window

0
I have a client who has had two separate credit cards compromised in the last week.  Same user, same computer, different secure websites, and two totally different cards.  I have run malware and AV scans on the machine, verified the web browser was fully patched and didn't have any extensions installed, verified Gateway AV IPS and App Control was enabled on the Sonicwall.  We looked for rogue APs and came back clean.  Both cards were used within an hour of being used for online transactions and the cards were entered in to the web browser manually, not saved.  I am running out of ideas on where to look or what to even look for.  Any help would be appreciated.
0
Hello,
I am working on the Stripe integration for the subscription based service. So far, after the successful payment (either monthly or annual based defined in Stripe plans), I handle checkout.session.complete event and out of that data create in local database subscription for the user. That part is working fine.
However, what would be best approach for checking the subscription statuses? In case of the hundreds of users, it seems that cron job that will fetch them daily and test the expiration date doesn't sound very efficient.

I was wondering if setting up a webhook that will listen to invoice.upcoming, invoice.payment_succeeded and incomplete_expired (and effectively canceling user subscription) would be a better option, but considering that I have very little experience in the life cycles of subscriptions, I am not sure. (not trying to create XY Problem here, just trying to explain)

Basically, my question is, what would be the best option to check Stripe subscription statuses and according to the responses handle local subscriptions?
0
Hello there!
Link to all products: https://chattanooga-shoe.myshopify.com/collections/all

The Issue:
When you filter the site by "size", products with color variants that are SOLD OUT in that particular size still appear in the main grid instead of being hidden. This is due to an app that we are using to split the color variants from one product and present them on the main collection table.

Why It's Happening:
We've installed an app called "Variants on Collection Page" to split the colored variants from within an individual product page onto the main collection table, resulting in all our products being displayed with their respective color variants beside them. The main issue we are running into here is that the app doesn't work well with the filter app we're using, Power Tools Suite, because the filter creates collections based on tags that it has auto-tagged. An example of how the issue manifests:

Let's say we have a product called "Roma Shoe" with three color variations, gray, brown and black. They have a full size run from Size 5 to 10, but size 7 in gray is SOLD OUT. Since "Roma Shoe" has two other colors, brown and black, that still have size 7 available, the main product (that encompasses all three colors) in the back end is still going to be tagged by Power Tools Suite "size-7" to be put into the auto-collection "7". There is no way for the filter app or the variant splitting app to know that size 7 in gray is SOLD OUT because the filtered results are …
0
I have not seen the statement myself but I have someone telling me there is an unrecognizable charge on her credit card statement. I'm thinking she possibly means it's a debit card. But either way, from some of the information she provided to me, it looks to me like it's an ACH transaction.  I've been trying to find something similar on the net but no success, so I'm asking here. Does anyone know why or can somebody give me an instance where an ACH payment might show up on a credit card statement?

Thank you.
0
we use magtek credit  card reader and try to capture credit card information to one of our html form / javascript.
do you have any ideas how to do that? I googled a few and it does not seem working.
0
Ecwid allows modification of the 'Order Confirmation' email that is emailed to buyers upon checking out. I currently use this to display extra information in the email in the event that the purchased item's SKU equals 'ABC-0719'...


<#if orderItem.sku = 'ABC-0719'>

some text

<#else></#if>


This works, however, I now want to expand its use so that SKU 'ABC-0819' also qualifies to have the extra information, and there will be many more of these 'ABC' items in the future that I want included in this as well. Therefore I want to have something like

<#if orderItem.sku "contains" 'ABC'>

But I'm not sure what syntax I need. Can you help here?

The variables are listed here https://support.ecwid.com/hc/en-us/articles/207808345-Editing-mail-notifications-templates but it doesn't show you how to use logic with them.

Thanks.
0
I would like to set a performance test plan for core banking. I have no experience in this. Can someone please help initiate the plan?
0
Become a Microsoft Certified Solutions Expert
LVL 13
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I have some custom code in my WooCommerce child themes function.php file that calculates the shipping weight based on the products in the cart and the pallet weight used to transport the products via truck.  I need to update or override the actual cart weight with the value of $kilo_rate returned from my function.

add_filter( 'woocommerce_cart_item_name', 'showing_sku_in_cart_items', 99, 3 );
    $item_count  = 0;
	$volume = 0;
	$max_length = 0; 
	$max_width = 0; 
	$max_length_cart = 0; 
	$max_width_cart = 0; 
	$sample_count = 0; 
	$sample_count = 0; 
	$sample_count = "Short"; 

function showing_sku_in_cart_items( $item_name, $cart_item, $cart_item_key  ) {
    global $volume;
    global $max_length;
    global $max_width;
    global $max_length_cart;
    global $max_width_cart;	
	global $item_count ;
	global $pallet_size;
	global $cubic_rate;
	global $kilo_rate;
	global $max_kilo_rate;
	global $cart_less_samples;

	
    // The WC_Product object
    $product = $cart_item['data'];
	
	//Get item Weight
	$weight_item = $product->get_weight();
	
    // Get the  SKU
    $sku = $product->get_sku();
    //IGNORE samples from this list
	$sku_pref = substr($sku,0,2);
	
	
	// When sku doesn't exist
    if(empty($sku)) return $item_name;

    // Add the sku
    $item_name .= '<br><small class="product-sku">' . __( "SKU: ", "woocommerce") . $sku . '</small></br>';

	//if ($sku_pref != 'SM') $sku_num = substr($sku,-3);
	if ($sku_pref != 'SM'){ 
	$sku_num = substr($sku,-3);
	

Open in new window

0
I am using TeraWallet for woocommerce on my site. I want to customize this wallet in such a way that if a customer adds money here via their credit card then he can use upto 100% of his wallet balance on their purchase on my store but when he gets money via cashback or promo offer then he can use only 10% of that money in their next purchase. I think I have to make two categories here for this feature where in 1st category customer will have money loaded from their cards or refunds and in the 2nd category customer will have money earned from cashbacks and the 10% spending limit will apply on 2nd category. How to do that?
0
this is a follow-on to this question
https://www.experts-exchange.com/questions/29142368/Need-Help-With-WooCommerce-Custom-Sort.html

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 );
$product->save();
}

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

0
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.
https://developer.sumup.com/docs/getting-started
0
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:

http://cheapasprints.com/shop/category/digital-170gsm-gloss-leaflets/

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?
0
Hi,
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?
0
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
0
I need to search for an order in my WooCommerce back office by email address.  I can see the email address in wp_users but don't know how to put a name to the email address.  Is there a plugin or mysql code that will accomplish that?

Thanks,
0
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!
0
Angular Fundamentals
LVL 13
Angular Fundamentals

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

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 …
0
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!
0
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.

Thanks!
   Shawn
0
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?
0
Hello,

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
0
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?
0

E-Commerce

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.