Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Afegir description_url al llistat de productes a seleccionar des de la vista de consumidor #281

Open
xpegenaute opened this issue Oct 26, 2020 · 0 comments

Comments

@xpegenaute
Copy link

Hola,

Quan s'afegeix un nou producte es demana la URL i després no he vist que es faci servir. Potser es podria incorporar generant un <a href>Nom Producte</a> en el llistat dels productes:

diff --git a/shop_and_order.php b/shop_and_order.php
index 2a1557b..e2890c2 100644
--- a/shop_and_order.php
+++ b/shop_and_order.php
@@ -619,7 +619,7 @@
                                                                <td class="item_it">{id}</td>
                                                                <td class="item_info"><p class="ui-corner-all iconContainer textAlignCenter rowProductInfo" stock="{stock_actual}" iva_percent="{iva_percent}" rev_tax_percent="{rev_tax_percent}" description="{description}"><span class="ui-icon ui-icon-info"></span></p></td>
                                                                <td class="item_provider_name hidden">{provider_name}</td>
-                                                               <td class="item_name">{name}</td>
+                                                               <td class="item_name"><a href={description_url} target="_blank">{name}</a></td>
                                                                <td class="item_notes hidden" colspan="4">
                                                                        {name}<br>
                                                                        <textarea class="ui-widget-content ui-corner-all textareaLarge inputTxtMax notes_{id}" name="notes_{id}">{notes}</textarea></td>
@@ -733,4 +733,4 @@
 
 <!-- / END -->
 </body>
-</html>
\ No newline at end of file
+</html>

Com ho veieu ?

Salut,
Xavi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant