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

#   Custom new view show\_tabular.php for concrete products

##

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

Less More

- Posts: 41
- Thank you received: 1
-
-

6 years 7 months ago [\#317590](#317590) by [motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")  *[Custom new view show\_tabular.php for concrete products](/forum/26-product-category-display/899571-custom-new-view-show-tabular-php-for-concrete-products#317590 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.29 -- Browser(s) name and version -- : chrome  Hi! I have created a sales promo during our quarentine time in Spain. I have created budgets with different discounts and I have designed a button image at the product page (in my case show&#95;tabular.php) to take the user to a form. My question is the following: would it be possible to create another customized &quot;show&#95;tabular.php&quot; without the custom button image to use it in the page of products that don't have an offer?  Thank you very much.  Best regards.")* was created by *[motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")*

-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.2.29
-- Browser(s) name and version -- : chrome

Hi!
I have created a sales promo during our quarentine time in Spain.
I have created budgets with different discounts and I have designed a button image at the product page (in my case show_tabular.php) to take the user to a form.
My question is the following: would it be possible to create another customized "show_tabular.php" without the custom button image to use it in the page of products that don't have an offer?

Thank you very much.

Best regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk1NzEtY3VzdG9tLW5ldy12aWV3LXNob3ctdGFidWxhci1waHAtZm9yLWNvbmNyZXRlLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 14325
-
-

6 years 7 months ago [\#317591](#317591) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom new view show\_tabular.php for concrete products](/forum/26-product-category-display/899571-custom-new-view-show-tabular-php-for-concrete-products#317591 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.29 -- Browser(s) name and version -- : chrome  Hi! I have created a sales promo during our quarentine time in Spain. I have created budgets with different discounts and I have designed a button image at the product page (in my case show&#95;tabular.php) to take the user to a form. My question is the following: would it be possible to create another customized &quot;show&#95;tabular.php&quot; without the custom button image to use it in the page of products that don't have an offer?  Thank you very much.  Best regards.")*

Hi,

Yes. In the menu Display&gt;Views, you can edit show_tabular.php
If you do, you'll see at the top of the textarea with the code of the file a text input with the text "tabular". You can change that text to create another product layout when you save.
Then, in your products, you'll find the "layout on product page" setting where you can select that new product layout.

Best regards,
Nicolas

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

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

Less More

- Posts: 41
- Thank you received: 1
-
-

6 years 7 months ago [\#317810](#317810) by [motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")  Replied by *[motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")* on topic *[Custom new view show\_tabular.php for concrete products](/forum/26-product-category-display/899571-custom-new-view-show-tabular-php-for-concrete-products#317810 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.29 -- Browser(s) name and version -- : chrome  Hi! I have created a sales promo during our quarentine time in Spain. I have created budgets with different discounts and I have designed a button image at the product page (in my case show&#95;tabular.php) to take the user to a form. My question is the following: would it be possible to create another customized &quot;show&#95;tabular.php&quot; without the custom button image to use it in the page of products that don't have an offer?  Thank you very much.  Best regards.")*

Hi Nicolas, thanks for answer. I think I explained it wrong. I've already edit "show_tabular.php" trough the menu "Display&gt;Views" and there I created a image button "Llévatela con promoción" (as you can see here for example: This message contains confidential information

). The point is that some products don't have this promotion and I didn't want to show this button. Because of that I'm wondering if I could create another different "view" named "show_tabular_nopromo.php" for example where the button isn't there.
Thank you very much.

best regards.

carol.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk1NzEtY3VzdG9tLW5ldy12aWV3LXNob3ctdGFidWxhci1waHAtZm9yLWNvbmNyZXRlLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 14325
-
-

6 years 7 months ago [\#317812](#317812) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom new view show\_tabular.php for concrete products](/forum/26-product-category-display/899571-custom-new-view-show-tabular-php-for-concrete-products#317812 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.29 -- Browser(s) name and version -- : chrome  Hi! I have created a sales promo during our quarentine time in Spain. I have created budgets with different discounts and I have designed a button image at the product page (in my case show&#95;tabular.php) to take the user to a form. My question is the following: would it be possible to create another customized &quot;show&#95;tabular.php&quot; without the custom button image to use it in the page of products that don't have an offer?  Thank you very much.  Best regards.")*

Hi,

No I understood what you wanted to do.
But apparently, I explained wrong as you didn't understood what I meant.
Let's do differently. Go in the menu Display&gt;Views and edit your product / show_tabular.php view file.
There, you'll see this: [ monosnap.com/file/fhHm4Qz7QZ3SBOtZ9qjoLao8SeWmI9](https://monosnap.com/file/fhHm4Qz7QZ3SBOtZ9qjoLao8SeWmI9)
After the text "tabular" in that input field, add _nopromo and save.
You'll now have your product / show_tabular_nopromo.php override.
And if you edit edit a product, in the "layout on product page" setting, you'll be able to select that show_tabular_nopromo layout on top of the 3 default ones.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTk1NzEtY3VzdG9tLW5ldy12aWV3LXNob3ctdGFidWxhci1waHAtZm9yLWNvbmNyZXRlLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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.049 seconds

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