GithubHelp home page GithubHelp logo

deli's Introduction

WooCommerce Monorepo

WooCommerce

Welcome to the WooCommerce Monorepo on GitHub. Here you can find all of the plugins, packages, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep tracking of ongoing development.

We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.

Getting Started

To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites.

Prerequisites

  • NVM: While you can always install Node through other means, we recommend using NVM to ensure you're aligned with the version used by our development teams. Our repository contains an .nvmrc file which helps ensure you are using the correct version of Node.
  • PNPM: Our repository utilizes PNPM to manage project dependencies and run various scripts involved in building and testing projects.
  • PHP 7.4+: WooCommerce Core currently features a minimum PHP version of 7.4. It is also needed to run Composer and various project build scripts. See troubleshooting for troubleshooting problems installing PHP.
  • Composer: We use Composer to manage all of the dependencies for PHP packages and plugins.

Once you've installed all of the prerequisites, you can run the following commands to get everything working.

# Ensure that you're using the correct version of Node
nvm use
# Install the PHP and Composer dependencies for all of the plugins, packages, and tools
pnpm install
# Build all of the plugins, packages, and tools in the monorepo
pnpm build

At this point you are now ready to begin developing and testing. All of the build outputs are cached running pnpm build again will only build the plugins, packages, and tools that have changed since the last time you ran the command.

Check out our development guide if you would like a more comprehensive look at working in our repository.

Repository Structure

  • Plugins: Our repository contains plugins that relate to or otherwise aid in the development of WooCommerce.
    • WooCommerce Core: The core WooCommerce plugin is available in the plugins directory.
  • Packages: Contained within the packages directory are all of the PHP and JavaScript provided for the community. Some of these are internal dependencies and are marked with an internal- prefix.
  • Tools: We also have a growing number of tools within our repository. Many of these are intended to be utilities and scripts for use in the monorepo, but, this directory may also contain external tools.

Reporting Security Issues

To disclose a security issue to our team, please submit a report via HackerOne here.

Support

This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:

NOTE: Unfortunately, we are unable to honor support requests in issues on this repository; as a result, any requests submitted in this manner will be closed.

Community

For peer to peer support, real-time announcements, and office hours, please join our slack community!

Contributing to WooCommerce

As an open source project, we rely on community contributions to continue to improve WooCommerce. To contribute, please follow the pre-requisites above and visit our Contributing to Woo doc for more links and contribution guidelines.

deli's People

Contributors

burlesonbrad avatar claudiosanches avatar jameskoster avatar jconroy avatar luislard avatar nerrad avatar nielslange avatar quasel avatar tiagonoronha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deli's Issues

Trying to select #ffffff as background color doesn't work

Identical to woocommerce/boutique/issues/40

You can't set the background colour to #ffffff

How to reproduce:

  • in Customizer go to Background
  • Change background colour to something else like #dd3333
  • Background changes in Customizer
  • Publish and view site - note that background is correct
  • Back in Customizer, change to #ffffff
  • Publish and view view - note that background is back to default brown

Closest you can choose is #fefefe

Header transparency issue....

When using Deli in combination with Powerpack,
and with the Customizer > Powerpack > Header > Sticky Header turned on,
and with any Header Customizer components in use in the header,

then the header background becomes transparent, which results in an unwanted overlay of body text and header when scrolling.

This was previously addressed (and not corrected?) in 2015. #4

Add README.md to make theme information more accessible

Is your feature request related to a problem? Please describe.

Not particularly related to a problem.

Describe the solution you'd like

Showing the theme information in a README.md makes them more readable.

Describe alternatives you've considered

n/a

Additional context

n/a

Update contributors

Update contributors to include woocommerce,automattic,

woothemes can stay etc.

Lighten background color for payment method icons in the Cart block

Describe the bug

The cart block has a background where the payment method icons appear that could create legibility issues with different card colors. Screenshot:

screenshot

To Reproduce

Steps to reproduce the behavior:

  1. Install and activate WooCommerce Blocks feature plugin.
  2. You will need to install and configure Stripe Payment Extension (or WooCommerce Payments) to be able to see credit card icons.
  3. Insert the Cart block on a page.
  4. Add some items to the cart then view the page you added the Cart block to.
  5. See the Credit Card icons and the background color as in the screenshot.

Expected behavior

A lighter background for the credit card icons visible in the cart page. Suggested color #EAEAEA

Fix order summary quantity badge numbers styling for checkout block used with the theme.

Describe the bug

The order summary badges for quantities in Cart and Checkout blocks aren't legible (the text color blends in with background). Screenshot:

screenshot-bad

To Reproduce

Steps to reproduce the behavior:

  1. Install and activate WooCommerce Blocks feature plugin.
  2. Insert the Cart block on a page.
  3. Add some items to the cart then view the page you added the Cart block to.
  4. View the styling of the quantity badges for the items in the cart.

Expected behavior

Suggest leaving the style of the badges to what the blocks provide by default.

Parallax Hero compatibility (homepage content hidden

3010692-zen

Describe the bug

When you've chosen to hide the homepage content, Parallax Hero does not display correctly in a mobile layout. Instead it gets pushed to one side of the page.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront + this child theme are active.
  • I can reproduce this bug consistently using the steps below.

To Reproduce

Steps to reproduce the behavior:

  1. Install Deli, Storefront Parallax Hero, Storefront Homepage Control
  2. Using Homepage control, add Parallax Hero to your page and hide page content
  3. View the site on a mobile layout

Screenshots


Image Link: https://d.pr/i/dFxA1K

Expected behavior

Parallax Hero should show up the same regardless of if the homepage content is hidden.

I tested the same thing in the base Storefront them and it works as expected.

Browser Environment

  • Platform: MacOS - 10.14.6
  • Browser(s): Chrome 81 on macOS (Mojave)

WordPress Environment

Please provide relevant details of your WordPress setup and server environment.

``` ` ### WordPress Environment ###

WordPress address (URL): https://philsquare.mystagingwebsite.com
Site address (URL): https://philsquare.mystagingwebsite.com
WC Version: 4.1.1
REST API Version: ✔ 1.0.7
WC Blocks Version: ✔ 2.5.16
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.1.3
Log Directory Writable: ✔
WP Version: 5.4.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: ✔

Server Environment

Server Info: nginx
PHP Version: 7.3.18
PHP Post Max Size: 2 GB
PHP Time Limit: 1200
PHP Max Input Vars: 6144
cURL Version: 7.70.0
OpenSSL/1.1.1d

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.23-MariaDB-log
Max Upload Size: 2 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 4.1.1
WC Database Prefix: wp_
Total Database Size: 3.41MB
Database Data Size: 2.03MB
Database Index Size: 1.38MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 1.09MB + Index: 0.03MB + Engine InnoDB
wp_postmeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
wp_posts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

Post Type Counts

attachment: 17
customize_changeset: 3
page: 8
post: 1
product: 13
revision: 4
shop_coupon: 1
shop_order: 1

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (3)

Homepage Control: by WooThemes – 2.0.3
Storefront Parallax Hero: by WooCommerce – 1.5.7
WooCommerce: by Automattic – 4.1.1

Inactive Plugins (7)

Akismet Anti-Spam: by Automattic – 4.1.5
Jetpack by WordPress.com: by Automattic – 8.5
Stop Emails: by Sal Ferrarello – 1.2.0
WooCommerce One Page Checkout: by Automattic – 1.7.6
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.1
WooCommerce Services: by Automattic – 1.23.0 – Installed version not tested with active version of WooCommerce 4.1.1
WooCommerce Square: by WooCommerce – 2.1.5

Dropin Plugins (2)

advanced-cache.php: advanced-cache.php
object-cache.php: Memcached

Settings

API Enabled: –
Force SSL: –
Currency: CAD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

WC Pages

Shop base: #5 - /shop/
Cart: #6 - /cart/
Checkout: #7 - /checkout/
My account: #8 - /my-account/
Terms and conditions: ❌ Page not set

Theme

Name: Deli
Version: 2.0.15
Author URL: https://woocommerce.com
Child Theme: ✔
Parent Theme Name: Storefront
Parent Theme Version: 2.5.6
Parent Theme Author URL: https://woocommerce.com/
WooCommerce Support: ✔

Templates

Overrides: –

Action Scheduler

Complete: 38
Oldest: 2020-05-14 11:54:03 +0000
Newest: 2020-05-27 16:50:57 +0000

Pending: 3
Oldest: 2020-05-27 17:02:27 +0000
Newest: 2020-05-28 17:51:52 +0000

`

</details>

Block Editor: Can not see texts in the post content

Describe the bug

Block Editor: Can not see texts in the post content.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront + this child theme are active.
  • I can reproduce this bug consistently using the steps below.

To Reproduce

Steps to reproduce the behavior:

  1. Create a post with Block editor.
  2. Try adding some basic blocks like paragraph, heading, list, etc.

Screenshots

Back-end - issue here:

Screen Shot on 2020-05-26 at 14:46:16

Front-end:
Screen Shot on 2020-05-26 at 14:46:34

Expected behavior

I can see texts in the block editor without any issue.

2998947-zen

Storefront Deli Them Issues

When I go to Deli Theme Customizing, then making my changes - the Save & Publish button is not working. When I click on the Save & Publish button it just goes back to the Save & Publish button, not to just Save.
If I go to ext it out of the Customizing I receive a Popup saying -
"Do you want to leave this sites?
Changes you made may not be saved. "

Storefront Designer integration

Add a notice on Deli child theme activation that explains why some of the features of certain Storefront extensions are disabled.

Sidebar display if background image removed and color set to white.

After removing the background image and changing the body color to white the little sellotape elements don't look as nice as with a darker color etc

Screenshot: http://cld.wthms.co/1etjs

If a customer wants a white background for their site and can only use the settings for example this may look a little weird to them, kinda forcing them to seek our some level of customization or use a dark background.

Not an issue with the code or anything but something I noticed and thought that I would share some feedback on. :)

Content area overhangs the container

It looks like an intentional design feature with the content are overhanging and being wider the the navigation menu ect.

On full width pages it looks not too bad but if the theme has a sidebar then it looks kinda off and uneven

Sceenshot: http://cld.wthms.co/siyC

This could be something that a lot of customers say hey how do we change this from experience and it might be better not overhanging the edges at all.

Bundle/deploy script

Is your feature request related to a problem? Please describe.

It would be great (e.g. for a grand-child theme, as grand-child themes are not directly suppored), if a bundle npm script is added to this project.

Describe the solution you'd like

A npm script that bundles the built theme, e.g. into a folder or ZIP file.

Describe alternatives you've considered

Manually copying, moving and removing files to get the desired result.

Sticky Header can look weird without a background colour

The sticky header can look a little weird without being able to set a header background colour when you see the content scrolling through the header area.

Screenshot: http://cld.wthms.co/17zmJ

One possible question this may raise frequently is "hey how do I set a background colour for the header" so I don't see the content scrolling behind it.

The sticky navigation setting looks cool though when enabled :)

Use 'trunk' instead of 'master' branch

Describe the bug

Automattic is standardizing on trunk for the primary(?) branch in repos, to avoid the unfortunate connotations of the term master (see twitter threads for more background: mislav; Una Kravets).

The plan is to align Woo and other A8C products to use the name trunk (core, extension etc.). This will also align with the direction the WordPress project is taking.

Logging an issue for changing this in this repo for visibility of when and how the change happens.

We'll need to update branch protection.

We'll likely use a process similar to:

  • Add a new trunk branch on a local clone.
  • Push trunk to GitHub repo.
  • Update default branch settings (if needed)
  • Update branch protection settings (if any)

At this point, the change is made. Anyone working on the repo should now use trunk.

Update any docs to reflect the change as well.

See also:

Deli doesn't respect PowerPack designer settings....

WordPress 4.9.1
Storefront 2.2.5
Deli 2.0.11
Powerpack 1.4.4

Have no logo file set.

Then:
Go to: Customize > Powerpack > Header > Customize Header
Click Logo. This will put the site title in the header.

Then:
Go to Customize > Powerpack > Designer > Add a style
Click on the site title in the header to customize it.

Change some settings. Many of them don't work.

Text color doesn't work.
Bold doesn't work.
Line height doesn't work.
Letter spacing doesn't work.

This is just an example, but it's not limited to the site title.

Grey and white background on blog posts

The design feature which is the half grey half white background on the content area to make it feel like a book doesn't look right with any blog post, page or single content area for me.

Screenshot: http://cld.wthms.co/1hTJz

Maybe limit this to the product archives only or similar or remove it completely from the design?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.