# Ramio

Members

9

• Location
Italy
• Activity
Developer

0

1. ## Discount on a discounted order

I've found where order discount is calculated On cart.php (lines 1525-1551) and on cart_rule.php (line 841-850) For every rule, prestashop calculate % reduction on total order price reading this value from \$order_total = \$context->cart->getOrderTotal(\$use_tax, Cart::ONLY_PRODUCTS, \$package_products); Now i think i need to decrease this value everytime a % reduction is calculated Someone can help me? Thanks Ramio
2. ## Discount on a discounted order

Hi... I need to customize my presta... i'm using prestashop 1.6.0.9. My customer asked me to enable multiple Discount on an order For example My user "A" have got 3 discount rule: 50% 10% and 10% on total order My user "A" add to cart some product for a total of 100\$ With his 3 discount rule him have to pay only 40,5\$ (100\$ -50% = 50\$ - 10% = 45 - 10% = 40,5\$) If I set 3 discount rule normally my prestashop wrong calculation is: (100\$ - 50\$ -10\$ -10\$ = 30\$) How can i do this? Thanks in advance Ramio
3. ## Modificare tema mobile

No niente... ancora non ho trovato alcun tema mobile. Alla fine ho convino il mio cliente ad utilizzare il sito responsivo del tema default-bootstrap
4. ## Print the shopping cart summary as a Quote using javascript and a button

Thank you very much
5. ## Get subcategories

ok I solved my problem fixing my lines of codes like this {foreach from=\$subcategories item=subcategory} <a href="{\$link->getCategoryLink(\$subcategory.id_category, \$subcategory.link_rewrite)|escape:'html':'UTF-8'}"> <img class="replace-2x" src="{\$base_dir}icone/{\$subcategory.id_category|escape:'html':'UTF-8'}.jpg" /> </a> {/foreach} I needed this solution because i'll do a multilanguage shop and an orizzontal menù with subcategories icons. Icons have got a watermark on the botton with the name of subcategory so I can't use default subcategory image.

7. ## Get subcategories

Hi... I'm trying to customize default-bootstrap and after i've totally hidden left column, i've to show subcategories image with link in place of category image. I'm editing category.tpl in themes/default-bootstrap after <!-- Category image --> How can I get subcategories information? I need subcategory id and subcategory name. Could somebody help me? thanks
8. ## Modificare tema mobile

Conosci qualche template, magari free, che disponga di un template mobile da cui potrei studiare la codifica interna per poi crearne uno mio?
9. ## Modificare tema mobile

Salve a tutti... come da domanda, volevo chiedere se qualcuno conoscesse come modificare il tema mobile di prestashop 1.6.0.9. Volevo modificare la posizione di alcuni moduli solo sul lato mobile e non sul lato desktop. Dal BO ho solo la possibilità di deprecare la visualizzazione sui dispositivi mobili o tablet dei moduli ma non di cambiarne la posizione. Ringrazio in anticipo per le eventuali risposte Cordiali saluti Ramio
×

• #### Go back to prestashop.com

×
• Create New...