[Skip to main content](#vessel-content)

#   Is the check notice.php view the best place to do Product-specific options?

##

- **[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")**
- [![stratacorps's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33546-stratacorps "View stratacorps's Profile") Topic Author
- [ Offline](/forum/user/33546-stratacorps)

Less More

- Posts: 116
- Thank you received: 7
-

8 years 5 months ago [\#293769](#293769) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  *[Is the check notice.php view the best place to do Product-specific options?](/forum/27-checkout/894940-is-the-check-notice-php-view-the-best-place-to-do-product-specific-options#293769 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2  I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.  Based on the product category they selected their product from, we need to provide an &quot;Up sell&quot; opportunity that goes along with that product.  I have the cart notification plugin enabled. My thought was to insert &quot;buttons&quot; in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).  I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.  Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.  My thinking was to have the notice.php display a module with the category display of the options available, or a &quot;no thanks, go to checkout&quot;.  An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).  Thanks for your input and/or sanity check.")* was created by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 7.2

I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.

Based on the product category they selected their product from, we need to provide an "Up sell" opportunity that goes along with that product.

I have the cart notification plugin enabled. My thought was to insert "buttons" in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).

I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.

Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.

My thinking was to have the notice.php display a module with the category display of the options available, or a "no thanks, go to checkout".

An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).

Thanks for your input and/or sanity check.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDk0MC1pcy10aGUtY2hlY2stbm90aWNlLXBocC12aWV3LXRoZS1iZXN0LXBsYWNlLXRvLWRvLXByb2R1Y3Qtc3BlY2lmaWMtb3B0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 5 months ago [\#293793](#293793) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is the check notice.php view the best place to do Product-specific options?](/forum/27-checkout/894940-is-the-check-notice-php-view-the-best-place-to-do-product-specific-options#293793 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2  I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.  Based on the product category they selected their product from, we need to provide an &quot;Up sell&quot; opportunity that goes along with that product.  I have the cart notification plugin enabled. My thought was to insert &quot;buttons&quot; in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).  I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.  Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.  My thinking was to have the notice.php display a module with the category display of the options available, or a &quot;no thanks, go to checkout&quot;.  An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).  Thanks for your input and/or sanity check.")*

Hi,

I would recommend to look at that plugin:
[ www.hikashop.com/marketplace/product/142-checkout-related.html](https://www.hikashop.com/marketplace/product/142-checkout-related.html)
This plugin can add a new view of listing of products related to the products in the cart inside the checkout.
So you could configure these option products as "related products" of your products, and place that view as the only view of the first step of your checkout.
That way, after the products are added to the cart and you redirect them to the checkout, they could see these products and either also add them to the cart, or proceed to the second step of the checkout where the real checkout would take place.
That's a bit how Amazon does it on their website.

That also has the added bonus that you don't need to write any custom code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDk0MC1pcy10aGUtY2hlY2stbm90aWNlLXBocC12aWV3LXRoZS1iZXN0LXBsYWNlLXRvLWRvLXByb2R1Y3Qtc3BlY2lmaWMtb3B0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")**
- [![stratacorps's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33546-stratacorps "View stratacorps's Profile") Topic Author
- [ Offline](/forum/user/33546-stratacorps)

Less More

- Posts: 116
- Thank you received: 7
-

8 years 5 months ago -  8 years 5 months ago [\#293841](#293841) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  Replied by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")* on topic *[Is the check notice.php view the best place to do Product-specific options?](/forum/27-checkout/894940-is-the-check-notice-php-view-the-best-place-to-do-product-specific-options#293841 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2  I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.  Based on the product category they selected their product from, we need to provide an &quot;Up sell&quot; opportunity that goes along with that product.  I have the cart notification plugin enabled. My thought was to insert &quot;buttons&quot; in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).  I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.  Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.  My thinking was to have the notice.php display a module with the category display of the options available, or a &quot;no thanks, go to checkout&quot;.  An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).  Thanks for your input and/or sanity check.")*

Thanks, I purchased the plugin, but now realize that this doesn't allow us to limit the related products that are being displayed. So after the option is added to the cart, it adds the other "parent" items that are also related to the options.

Is there a way to limit the related products displayed to a specific category (for example, an Options category, so only related Options products will be displayed?) Or even better, a characteristic ... so if the product in the cart has a characteristic "Gold" only Gold options will be displayed?

EDIT: if the checkout related had an option to include related products to a specific category I think this could work. I'm not sure who to contact about items in the marketplace though???

Last edit: 8 years 5 months ago by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDk0MC1pcy10aGUtY2hlY2stbm90aWNlLXBocC12aWV3LXRoZS1iZXN0LXBsYWNlLXRvLWRvLXByb2R1Y3Qtc3BlY2lmaWMtb3B0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 5 months ago [\#293842](#293842) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Is the check notice.php view the best place to do Product-specific options?](/forum/27-checkout/894940-is-the-check-notice-php-view-the-best-place-to-do-product-specific-options#293842 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2  I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.  Based on the product category they selected their product from, we need to provide an &quot;Up sell&quot; opportunity that goes along with that product.  I have the cart notification plugin enabled. My thought was to insert &quot;buttons&quot; in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).  I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.  Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.  My thinking was to have the notice.php display a module with the category display of the options available, or a &quot;no thanks, go to checkout&quot;.  An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).  Thanks for your input and/or sanity check.")*

Hello,

It could be possible to improve the plugin to exclude the "product options" from the algorithm.
But having a category filter or a characteristic filter would be much more complicated since that information is not available in the cart so it would require to perform extra database queries, extra processing, etc.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDk0MC1pcy10aGUtY2hlY2stbm90aWNlLXBocC12aWV3LXRoZS1iZXN0LXBsYWNlLXRvLWRvLXByb2R1Y3Qtc3BlY2lmaWMtb3B0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")**
- [![stratacorps's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33546-stratacorps "View stratacorps's Profile") Topic Author
- [ Offline](/forum/user/33546-stratacorps)

Less More

- Posts: 116
- Thank you received: 7
-

8 years 5 months ago [\#293859](#293859) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  Replied by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")* on topic *[Is the check notice.php view the best place to do Product-specific options?](/forum/27-checkout/894940-is-the-check-notice-php-view-the-best-place-to-do-product-specific-options#293859 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2  I have a specific streamlined marketing page concept to test to promote specific items. When the visitor selects an item, it is added to the cart and we redirect them to a one-page checkout.  Based on the product category they selected their product from, we need to provide an &quot;Up sell&quot; opportunity that goes along with that product.  I have the cart notification plugin enabled. My thought was to insert &quot;buttons&quot; in the notice.php view based on the product line item's category to allow the visitor to add OptionA, OptionB, etc. to the cart and using the URL link to trigger the ajax call (so we don't get a page refresh).  I am trying to see if I can mimic similar sites but they have product options, like radio or checkbox fields inline with the product line items and you can check the options you want within the checkout page. I wasn't able to do this with Custom Fields as we need to add a value. So I created the options as individual products in their own category.  Note that we don't use the traditional product view, we have a marketing page that narrows the product selection down based on options and then we add the final product to the cart. Its at that time we need to either present the visitor with options to add to their purchase.  My thinking was to have the notice.php display a module with the category display of the options available, or a &quot;no thanks, go to checkout&quot;.  An example would be a product item that is a painting, then when they select the artwork/photo they want from a gallery, they are prompted to select from available frame types for that category or no frame and checkout. if they select a frame, its 'silently' added to their selection and on checkout they will see both line items, the artwork, and the frame (if selected).  Thanks for your input and/or sanity check.")*

I played with it a bit and I think if I had another option to show only related products in selected categories that would work. I copied the plugin because the code isn’t just in the view (I was trying to see if an override would work).

An idea for another plugin would be to be able to show and change product iptions inline in the cart view.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDk0MC1pcy10aGUtY2hlY2stbm90aWNlLXBocC12aWV3LXRoZS1iZXN0LXBsYWNlLXRvLWRvLXByb2R1Y3Qtc3BlY2lmaWMtb3B0aW9ucz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.089 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
