Hamrah – Product Suggestions & Gift Boxes

Sharraxaad

Hamrah adds a “complete your order” block to the WooCommerce product page.

Suggestions you control per product

  • Pick any simple product or single variation as a suggestion, with its own quantity and an optional percent or fixed discount.
  • Choose how they are sold: optional (the customer ticks only the items they want) or required set (everything is added together).
  • Pre-select items you recommend most.
  • A running total shows the product plus the selected items before adding to cart.

Correct cart, every time

  • Each suggestion is added as its own cart line, so prices, stock, coupons and shipping rules keep working normally.
  • Discounts apply only while the main product is in the cart.
  • Items of a required set follow the main product’s quantity and are removed together with it.
  • Enable the cart suggestions setting to show the optional suggestions from the current cart in a single row. When multiple sources offer the same product or variation, the lowest unit price wins.

Gift boxes

  • Mark any product as a gift box and enter its inner size.
  • Boxes are offered when the product fits inside (any orientation, with a packing margin you set), when the box is assigned to the product’s category, or when you choose boxes on the product.
  • The customer can add a gift message and ask for no prices in the package. Both show in the cart, the order, the emails and as an order note.
  • Stores can disable gift wrapping without a box or build configurable gift packs using existing product stock and a required box.

Hamrah has no external services, no tracking and no upsell screens. It works with HPOS and the cart and checkout blocks.

Rakibaad

  1. Upload the plugin and activate it. WooCommerce must be active.
  2. Go to WooCommerce Settings Products Suggestions & gift boxes to set the defaults and turn on gift boxes.
  3. Edit a product and open the “Suggestions” tab to add suggested products.
  4. To offer gift boxes, tick “Gift box” in the Shipping tab of the box product, then assign boxes to categories or enter product dimensions.
  5. Enable “Show suggestions in the cart” in the Hamrah settings to display the horizontal row in the cart.
  6. Create a dedicated simple product for each gift pack. Enable “Configurable gift pack” in the Suggestions tab, choose a gift box, and add the available products for each component. Group packs in a product category to list them together.

SBI

Can a variable product be suggested?

Suggest a specific variation. A variable product itself cannot be added without a choice of options.

Is Andazeh required?

No. When it is active, customers choose the measurement on the measured product’s own page. Hamrah uses the native Andazeh price for the combined estimate on that page.

What happens if the customer removes the main product?

Items of a required set and gift boxes are removed with it. Optional items stay in the cart at their normal price.

What if an item of a required set is out of stock?

The set cannot be added to the cart and the product page explains why.

Does it work with page caching?

Yes. The block contains no user-specific data and needs no session-bound tokens.

Dibu-eegisyo

Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.

Ka-qaybgalayaasha & Horumariyayaasha

“Hamrah – Product Suggestions & Gift Boxes” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

“Hamrah – Product Suggestions & Gift Boxes” waxaa lagu tarjumay 1 luqad. Way ku mahadsan yihiin turjumaannada ka-qaybqaadashadooda.

Ku tarjun “Hamrah – Product Suggestions & Gift Boxes” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.

Isbeddellada

1.1.0

  • Show optional product suggestions in the classic cart or Cart block. Suggestions use the same product settings and conditional discounts as the product page.
  • Add an optional Andazeh integration. Measured purchases use Andazeh’s product form and price calculator. WooCommerce alone is sufficient to use Hamrah.
  • Let stores disable gift wrap without a box and configure gift packs with a choice of products per component and a fixed box.
  • Validate gift and set selections, keep linked quantities and stock in sync, and preserve the cart if a required item cannot be added.

1.0.4

  • Fix: on variable products the block is placed above the quantity and add to cart row, so themes that keep that row on one line no longer squeeze the button.
  • Fix: variable products without suggestions or matching gift boxes no longer get an empty block.

1.0.3

  • Fix: the running total now works in block themes (prices, currency and variations).
  • The gift message box uses the theme font.

1.0.2

  • Product page: keep the layout fix working in themes that force the add to cart form onto one row.

1.0.1

  • Product page: the block takes its own row in themes that lay out the add to cart form as a single row.

1.0.0

  • First release.