E-commerce Website: Llangollen Brewery

E-commerce Brewery Website: Llangollen Brewery

A simple e-commerce site for a local brewery manufacturing craft ales and craft beers. Turtlereality web design specialise in creating highly effective e-commerce websites for small to medium sized companies.

Sectors: 
E-Commerce
Small business

Allow off-canvas dialog to be rendered on the left of the page

Hi,

this is my current code for off_canvas. It block on the right side of the page(off-canvas), is there a way to open it on the left of the page?

Entity with composite key

Hello,

In my site, I let my Users to redeem coupons from a list of available coupons stored in a database table.

I would like to know what is a good way to implement this.

In a DB usually you will have a table like user_redemption to store the user_id and coupon_id as a composite key.

How would you do that in Drupal 8?

Should I create two custom Entities: Redemption, Coupon? And then use Field Definition of 'entity_reference' to link them?

Also I will have a large amount of coupons, what is a good way to insert them to my entity tables?

drupal 8: having multiple value for a custom field

Hi every body. We need to create a custom field that has 3 parts: field label that static, field type that is Taxonomy terms and field value that is input string. How we can create this kind of field?

Edit option for content displayed on custom page

Hi,

I have a custom module that creates a custom page with some content. I need to have an edit button next to the content being displayed so that the people assigned the role of Editor is able to edit it. I have looked for online examples but found nothing helpful. 

Could you let me know how can I do it?

Thanks,

What is the simplest way to implement a hook on publishing specific content type?

I am asking becausee I haven't found any working solution or some good tutorial with files locations, files content and minimum files needed.

1. Can anyone confirm, that you cannot implement this type of hook (on publishing custom content type) in mytheme.theme?

Now I am digging web/core/lib/Drupal/core/Extension/ModuleHandler.php, and I start to suspect that I need a module - judging on implementation.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x