Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am using a REST API to import products from an external source. All products have a price. I would like to add a custom field to the product type, which will not be imported from the API, but I fill in manually on every product. I want this to be a price field which adds to the product price.
Example:
- Imported product has a price of 25 euros;
- My custom price field: 5 euros;
- Price on product when displayed to customers and which they have to pay: 30 euros.
I am quite new to Drupal and Drupal Commerce. I have a store where I am using an API to import products from an external source.
So I built a product catalog page by creating a view and displaying all the products on this page.
With a Link to product button I can go from the catalog page to the product detail page, everything is working fine. But now I would like to have a button on this product detail page to another page with a more detailed story about this product. Now I have three questions: